Machsupport Forum

Mach Discussion => Mach3 under Vista => Topic started by: bluecoast on January 15, 2013, 11:12:04 PM

Title: 32-bit vs. 64-bit VBScript support
Post by: bluecoast on January 15, 2013, 11:12:04 PM
I'm running Windows 7 64-bit.

I have a .m1s script that uses a 32-bit .ocx to perform serial communications. I have an issue where I get an ActiveX error now that I've upgraded to 64-bit.

Based on the link at bottom, I think Mach is using Windows\system32\wscript.exe (or cscript.exe) to execute macros, but in 64-bit Windows, system32 holds only the 64-bit script interpreters, which can't use existing 32-bit .ocx or .dll libraries. In other words, my existing scripts might actually work if Mach called the 32-bit script interpreters now located in Windows\WoW64\

Is there a way I can select which interpreter is called to run scripts? If not, could one be added? Has anyone else run into this yet?

This is what I think is happening: http://stackoverflow.com/questions/2429477/cannot-use-createobject-from-vb-scripts-on-windows-7
Title: Re: 32-bit vs. 64-bit VBScript support
Post by: ger21 on January 16, 2013, 06:28:19 PM
Mach3 uses Cypress Enable as it's scripting engine.
http://www.cypressinc.com/
Title: Re: 32-bit vs. 64-bit VBScript support
Post by: bluecoast on January 16, 2013, 08:55:20 PM
Thank you -- that will at least help me investigate further.

Title: Re: 32-bit vs. 64-bit VBScript support
Post by: BR549 on January 16, 2013, 09:17:33 PM
I don't think that the scripting engine is 64 bit compatible.

Just a thought, (;-) TP