[fpc-pascal] Function to know if WIN is 32 or 64

Henry Vermaak henry.vermaak at gmail.com
Tue Mar 15 15:13:47 CET 2011


On 15 March 2011 14:05, Marcos Douglas <md at delfire.net> wrote:
> Is there some function to know if the Windows is 32 or 64?

You can use the GetNativeSystemInfo function.  Check
TSystemInfo.wProcessorArchitecture = PROCESSOR_ARCHITECTURE_AMD64 to
see if it's 64 bit.

Henry



More information about the fpc-pascal mailing list