Thanks for the responses, but your solution does not fix the problem (and actually my dll declaration is correct and works that way it is). The solution I found to this problem is to declare the C++ function with the __stdcall flag. This forces the C++ function to clean up the stack before...
I have the task of writing a communications library for an RS232 serial comm port magstripe reader. I am writing the library in visual C++ with MFC. The functions in this library will be called from a legacy program written in PowerBuilder 6.5. So far, PowerBuilder successfully calls the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.