Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DLLs with Handle parameters

Status
Not open for further replies.

EliGottlieb

Programmer
May 22, 2002
3
US
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 DLL side and the incorrect value was passed!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top