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] GetProcAddress() with callback functions

  • From: "Daniel Razafsky" <draz_01@xxxxxxxxxxx>
  • To: shell-coding@xxxxxxxxxxxxx
  • Date: Mon, 12 Aug 2002 22:16:43 -0500
  Hello all.  None of you have ever heard from me before but I've been lurking on the mail list for quite some time now and am beginning to teach myself Win32 programming.  While attempting to create a hotkey application using windows hooks I came across a problem I was hoping someone could help me with. 
 
  After successfully loading the dll using LoadLibrary, I'm attempting to get a pointer to a CALLBACK function like so   
 
FARPROC pFunc = GetProcAddress(hDll, "KeyProc");
 
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.
 
Dan


Send and receive Hotmail on your mobile device: Click Here
__________________________________________________ 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.