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

Marcos Douglas md at delfire.net
Tue Mar 15 17:40:06 CET 2011

On Tue, Mar 15, 2011 at 1:33 PM, Henry Vermaak <henry.vermaak at gmail.com> wrote:
> On 15 March 2011 15:46, Marcos Douglas <md at delfire.net> wrote:
>> Thanks Jeff, this also works and seems to be standard function to know
>> if is a 32 or 64bits
> No, this won't work if your application is compiled for win64 (since
> it won't run under the emulator), as Jeff mentioned.

You're right.
Look the parameter Wow64Process [out]:
"(...)If the process is a 64-bit application running under 64-bit
Windows, the value is also set to FALSE".



Marcos Douglas

More information about the fpc-pascal mailing list