Re: Help Needed Using DLL
Quote:
Originally Posted by
Igor Vartanov
Vladimir, in your defence: there could not be a mention of WinCE, as there are no hooks in there. :)
Thank you! Thats's a good news. :wave:
Then what about my post #5 above? How the OP's code was compiled? :confused:
Re: Help Needed Using DLL
Quote:
Originally Posted by
Igor Vartanov
Say the truth is what to do. Either you miss (or cripple somehow) the CALLBACK modifier in your dll, or you use .def file that unmangles the exported name.
See my sample, and you see all works fine so far.
thanx Igor
I removed the extern modifier from the .h and .cpp file and then buid the dll the function name was shown as "?MyMouseProc@@YGJHIJ@Z" and then i used the .c file to use that dll
anywayz thanx a lot