[fpc-pascal] stdcall on win64?

Florian Klämpfl florian at freepascal.org
Mon Sep 6 21:01:31 CEST 2010


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.



More information about the fpc-pascal mailing list