how to detect OS architecture?

Hugo Florentino hugo at acdam.cu
Mon Dec 16 02:53:45 PST 2013


Hi,

I am writing a launcher to make a Windows application portable, but 
since this application supports both x86 and x86_64, I would like to 
detect the architecture of the OS my launcher is being run on, in order 
to launch the proper executable.

How can I do this?

Regards, Hugo


More information about the Digitalmars-d-learn mailing list