Yes, the calling function cleans the stack. What I am referring is a hidden ARGUMENT that is passed TO the DLL, a pointer for the structure to be stored.
Yes, structures can be returned as a copy. A 32 bit return value is returned to the CALLING function through the EAX register. A 64 bit return is done through the EAX:EDX pair. (I *think* it is the EDX). A structure, however, is returned by using the previously passed, hidden,...
User Profile
Collapse
-
Borland Builder C++ Help Needed - DLL Import problems
Hi-
I could use some help resolving a problem. This explanation will be lengthy as I am trying to describe my problem without posting real code.
I currently have a Win32 console application & a Win32 DLL which work correctly together. Both were written by another author and were compiled with MSVC++.net (compiling to Win32) From what I can tell, the __cdecl calling convention was used throughout. I have no idea if the...
No activity results to display
Show More
Leave a comment: