how to detect OS architecture?
Hugo Florentino
hugo at acdam.cu
Wed Dec 18 05:50:10 PST 2013
On Wed, 18 Dec 2013 13:16:35 -0000, Regan Heath wrote:
> IsWow64Process returns (in the output parameter) if the 32 bit
> application is running in WOW64. WOW64 *only* exists on a 64 bit
> OS.
> So, if true this tells you you're on a 64 bit OS. You don't need an
> additional call to GetNativeSystemInfo at all.
Cool, thanks for clarifying.
BTW, how could I benchmark the performance of both solutions (lets say
for a few thousand runs) to see if one is more efficient than the other?
More information about the Digitalmars-d-learn
mailing list