On Tue, Mar 15, 2011 at 1:33 PM, Henry Vermaak <henry.verm...@gmail.com> wrote:
> On 15 March 2011 15:46, Marcos Douglas <m...@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".

http://msdn.microsoft.com/en-us/library/ms684139%28v=vs.85%29.aspx

Thanks.

Marcos Douglas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to