User Profile

Collapse

Profile Sidebar

Collapse
rfdes
rfdes
Last Activity: Oct 21 '07, 12:39 AM
Joined: Oct 18 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • 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,...
    See more | Go to post

    Leave a comment:


  • rfdes
    started a topic Borland Builder C++ Help Needed - DLL Import problems
    in C

    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...
    See more | Go to post
No activity results to display
Show More
Working...