05-15-2013 04:38 PM
I have an application that calls an external .exe. I need to call a different .exe depending on whether Windows is a 32-bit or 64-bit version. Is there a way to detect whether the operating system is 32-bit or 64-bit programmatically from LabWindows?
05-16-2013 12:51 AM
Hello Michelle,
This post will answer your questions: http://forums.ni.com/t5/LabWindows-CVI/detect-32-64-bit-OS/td-p/1154491
Have a nice day,
Nelu F. || National Instruments
05-16-2013 03:28 AM
According to this page, you can use getenv ("PROCESSOR_ARCHITECTURE"); and getenv ("PROCESSOR_ARCHITEW6432");