[fpc-pascal] Linking statically C code with stdcall functions

Marco van de Voort marcov at stack.nl
Fri Mar 5 13:26:42 CET 2010


In our previous episode, Henry Vermaak said:
> > You're right, apparently it has nothing to do with C.
> 
> According to this, it has:
> 
> http://en.wikipedia.org/wiki/Name_mangling#C_name_decoration_in_Microsoft_Windows

But the system libraries using stdcall do not use it, so apparantly it is
turned off there. It makes more sense to make stdcall adhere to the system
calling convention than the MSVC mangled version one. (that'd be a new
modifier)



More information about the fpc-pascal mailing list