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.