how to detect x64 vs. x86?

Matthias Rebbe matthias_livecode_150811 at
Thu Sep 27 06:19:20 EDT 2012

Hi Phil,

the registry key

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\BuildLabEx

should help.



Matthias Rebbe
matthias (at)
Tel +49.5741.310000
Tel +49.160.5504462
"Life is too short for boring code"

Am 27.09.2012 um 09:05 schrieb Phil Davis <revdev at>:

> I know this has been discussed before, but my search reveals nothing. So I ask.
> On Windows, is there a variable / shell command / registry entry my app can look at to see whether the OS is 32- or 64-bit? It would be nice if you could do it the same way across Vista, 7, 8; but I'll settle for what exists.
> Thanks so much!
> -- 
> Phil Davis
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list