[shell-coding] Re: GetProcAddress() with callback functions

Sounds like it might be a name-mangling issue related to how
you're exporting the function. First of all, don't use
__declspec(dllexport). Instead create a .def file for your project
and put the following into it:

EXPORTS
   KeyProc
   (...)

Where (...) is replaced by the names of any other functions
you want to export.

--
Maduin


Daniel Razafsky wrote:


for some reason, this is returning NULL. If I change the name of the function to something that isn't a CALLBACK function it works fine though. Is there something special about CALLBACK functions that I'm missing? All help is appreciated.




__________________________________________________
Subscription options and archive:
http://www.freelists.org/list/shell-coding

Other related posts: