I wrote a DLL function that takes a handle to something, decodes it to a pointer-to-the-something, and returns the pointer. I'm sure this is exported correctly. But when I call it from an EXE the client program says it's passing in the correct parameter, but then I step through the function...
I built a COM-like infrastructure (I hate Micrsoft), and typedefed DWORD to be called HSERVER (Handle of Server). Then I wrote 2 functions to encode and decode this handle. I did this all in Delphi. Recently I ported it to C++ Builder and compiled it into a DLL. Now when I call one of my...
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.