Checking the host OS

Mark Wieder ahsoftware at sonic.net
Sat Aug 31 00:05:07 EDT 2019


On 8/30/19 8:41 PM, Devin Asay via use-livecode wrote:

> No, I’m just toying with the idea of having a 32-bit launcher that would examine the host OS, then launch the proper executable based on whether it is 32 or 64 bit. Sort of like a poor man’s universal app like we used to create for MacOS. It’s possible I’m use way overthinking this.

OK. I'm with Dar on this then.
Check for the existence of folder "C:/Windows/SysWOW64".
If it exists then you're on a 64-bit machine.

-- 
  Mark Wieder
  ahsoftware at gmail.com




More information about the use-livecode mailing list