|
-
March 2nd, 2012, 06:02 PM
#11
Re: ESP not properly saved (DLL calling an exe's object function).
 Originally Posted by zreecu
Try this way.
change the delegate declaration from
public delegate int SimpleDelegate(int x);
To:
[UnmanagedFunctionPointerAttribute(CallingConvention.Cdecl)]
public delegate int SimpleDelegate(int x);
That might be good but the thread is about a year old and also in native C++ so your post is a bit misplaced.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|