a***@aol.com
2010-11-18 17:34:03 UTC
I am using "foreign" DLLs (written by someone else) and there is no
calling convention recommendation, although the "help" files recommend
the use of C++.
Is there any sure-fire way of establishing the correct calling
convention to use in Delphi calls to the DLL. For one DLL in a simple
use I get AVs with cdecl but none with stdcall (I have not tried
safecall). Are "suction & vision" methods the only way to go, or is
there something better ?
I have three DLLs all written by a major company who knows nothing
except VBasic or C++.
Alan Lloyd
calling convention recommendation, although the "help" files recommend
the use of C++.
Is there any sure-fire way of establishing the correct calling
convention to use in Delphi calls to the DLL. For one DLL in a simple
use I get AVs with cdecl but none with stdcall (I have not tried
safecall). Are "suction & vision" methods the only way to go, or is
there something better ?
I have three DLLs all written by a major company who knows nothing
except VBasic or C++.
Alan Lloyd