> Wednesday, December 24, 2003, 1:21:32 PM, you wrote:
> 
> IT> Bad news :(
> 
> IT> Is this true for all {$mode }'s or only {$mode delphi} ?
> 
> Why bad, Try to add {$calling oldfpccall} into your source

To summarize it.

1.0.x has oldfpccall default
1.1.x/1.9.x has oldfpocall till about october/early november (?)
1.9.x after that had stdcall till yesterday.
1.9.x from now on will have register

IOW, you have to see for which of these the routines were designed, and then
select

{$calling stdcall}      
{$calling register}     // FPC 1.9.x from now on, and Delphi origin
or

{$calling oldfpccall}



_______________________________________________
fpc-devel maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to