07-10-2015 12:17 PM
Is there some API, in CVI (LabWindows), that I can use to determine the architecture, 32 vs 64 bit, of the machine my app is running on?
The reason is that I have a call to open a file under 'Program Files' but if it is a 64 bit machine I need to make the call to 'Program Files (x86)'.
Or possible some macro that will point to the currenly installed folder of my application?
Thanks
Solved! Go to Solution.
07-10-2015 03:00 PM
While I can't answer the exact question easily. I can provide some potentially helpful pointers:
All that said I don't have the answer to determining 32 vs 64 bits!
Hope this helps a bit.
Ian
07-10-2015 04:14 PM
Your suggestions got me going to find the API, GetProjectDir(), which I adapted for my use.
Appreciate the help.
07-13-2015 12:44 PM
I realize you probably don't need to differentiate between 32- and 64-bit any more, but if you ever need to again, this is how you can do it.
07-13-2015 06:28 PM
Thansk LuisG,
Stuff like that always comes in handy.
I appreciate it.