Running VBScript 32-bit or 64-bit
When running a VBScript, on a 64-bit Windows system it is possible to run either as a 32-bit process, or a 64-bit process. If running 32-bit, then you need the 32-bit ActiveX. If running 64-bit, then you need the 64-bit ActiveX.
To run a 32-bit VBScript on a 64-bit system, you do this:
REM This is the 32-bit cscript. C:\windows\sysWOW64\cscript jsonTest.vbs
To run a 64-bit VBScript, you do this:
REM This is the 64-bit cscript. C:\windows\system32\cscript jsonTest.vbs
or simply this:
cscript jsonTest.vbs
If you double-click on the .vbs to run it from Windows Explorer, then you’ll be running as a 64-bit process. The default, unless you took care to explicitly run as 32-bit by invoking the cscript.exe under sysWOW64, is that you’ll be running as a 64-bit process, and in that case you’ll need the 64-bit Chilkat ActiveX registered on your system.
admin
0
Tags :