On 31 May 2009, at 20:05, Coco Pascal wrote:
I tried
function Y_Odd(const AValue: Int64): LongInt; cdecl; alias:
'_Y_Odd'; export;
and
function Y_Odd(const AValue: Int64): LongInt; cdecl; alias:
'__Y_Odd'; export;
but still I get the message entrypoint of 'Y_Odd' could not be found
in 'libyfbudf.dll'
Then you may want to use some tool to look at the name of the entry
point in the dll for the cdecl case, and compare it to the stdcall
case. Since I don't use Windows, I cannot help you with this.
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal