Thanks Florian. :-)


----- Original Message ----
From: Florian Klämpfl <flor...@freepascal.org>
To: FPC-Pascal users discussions <fpc-pascal@lists.freepascal.org>
Sent: Tue, September 7, 2010 2:01:31 AM
Subject: Re: [fpc-pascal] stdcall on win64?

Am 06.09.2010 18:27, schrieb Bihar Anwar:
> stdcall calling convention is for Win32, right? E.g.
> 
>     function Test: HRESULT; {$IFDEF WIN32}stdcall;{$ENDIF}
> 
> By using $IFDEF like that, will the code also work in Win64?

Win64 ignores all calling conventions and uses only the calling
conventions from the abi defined by MS for Win64.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal




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

Reply via email to