Hello Guest it is April 16, 2024, 10:49:31 AM

Author Topic: 32-bit vs. 64-bit VBScript support  (Read 5072 times)

0 Members and 1 Guest are viewing this topic.

32-bit vs. 64-bit VBScript support
« 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

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: 32-bit vs. 64-bit VBScript support
« Reply #1 on: January 16, 2013, 06:28:19 PM »
Mach3 uses Cypress Enable as it's scripting engine.
http://www.cypressinc.com/
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: 32-bit vs. 64-bit VBScript support
« Reply #2 on: January 16, 2013, 08:55:20 PM »
Thank you -- that will at least help me investigate further.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: 32-bit vs. 64-bit VBScript support
« Reply #3 on: January 16, 2013, 09:17:33 PM »
I don't think that the scripting engine is 64 bit compatible.

Just a thought, (;-) TP