Go to the FreeLists Home Page Home Signup Help Login
 



Browse shell-coding: This Month's ArchiveMain Archive PageRelated postsPrevious by DateNext by Date

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

  • From: Kevin Schaffer <kschaffe@xxxxxxxx>
  • To: shell-coding@xxxxxxxxxxxxx
  • Date: Tue, 13 Aug 2002 13:37:41 -0400
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:

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




  • [ Home | Signup | Help | Login | Archives | Lists ]

    All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
    Everything else ©2008 Avenir Technologies, LLC.