Board index » delphi » Error Calling DLL when Optimization is turned on.
Gi...@sloth.com (Giant Sloth)
![]() Delphi Developer |
Sat, 13 Oct 2001 03:00:00 GMT
Error Calling DLL when Optimization is turned on.
I have a DLL written in Visual C++ that I'm calling from Delphi. The
function in the DLL is defined as: ****In the DLL**** On the Delphi side I load the DLL like this: *****Load in Delphi, statically***** And Call it like this: ******Call the routine from Delphi***** If I leave off 'stdcall' in the definition of the Function then I get It works fine until I turn on Optimization, then it stops working. Does anyone have any clues? I think it boils down to my definition, I also have a DLL written in Delphi and called it from C. I have to |