dimanche 28 août 2016

x86 or amd64 Architecture?

I have compiled my application to using the x86 instruction set but I need to know programatically whether the machine the executable is running on supports the amd64 instruction set or not. Is there a simple way to find this out (possibly using CPUID)?

The application needs to be able to run on multiple OSes so non-OS based methods are preferred.

Aucun commentaire:

Enregistrer un commentaire