STDCALL or PASCAL??
Posted on 1997-04-18
I have a bunch of Delphi DLLs that I will want to use from C++ Builder (I just got it so haven't done any testing yet). They all use the PASCAL calling convention. I know that the Win32 standard is STDCALL.
I read, a few years ago, that for Intel processors, the PASCAL calling convention is more efficient that the C (CDECL) calling convention (though I can't remember why)...I do know that STDCALL is just a variant of CDECL.
So...first question...will C++ Builder support the PASCAL calling convention? Or should I change the DLLs to support the STDCALL convention? And, was there any truth to what I'd read about the PASCAL and CDECL conventions??