I have a com object that I am calling and this works very well except that 
there is only a 32bit version of it available.

So I generate a script and run the script as follows:

$vt_Command:="CScript //nologo //U \""+ +Document+"\""
SET ENVIRONMENT VARIABLE("_4D_OPTION_HIDE_CONSOLE";"true")
SET ENVIRONMENT VARIABLE("_4D_OPTION_BLOCKING_EXTERNAL_PROCESS";"true")
LAUNCH EXTERNAL PROCESS($vt_Command;$In;$Out;$Err)

This works fine on 4D standalone (32bit) and fine on 4D Server (32bit) but 
fails on 4D Server (64bit) because it is running the 64bit version of CScript.

How do I alter : $vt_Command:="CScript //nologo //U \""+ +Document+"\""

To force it to run the 32bit CScript?

Regards,  Dougie
________________________________________________________

telekinetix Limited- J. Douglas Cryer
Phone : 01234 761759  Mobile : 07973 675 218
2nd Floor Broadway House, 4-6 The Broadway, Bedford MK40 2TE
Email : [email protected]  Web : http://www.telekinetix.com
________________________________________________________





**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to