Re: winevent hook functions

  • From: "Littlefield, Tyler" <tyler@xxxxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Fri, 14 Dec 2007 13:36:35 -0700

The hook is in the dll.
If you run things in DLLMain, then that means that the library will have to be 
loaded.
You can use something like the process/thread attached on the reason to catch 
it and run.
Tyler Littlefield
Vertigo head coder.
"I can only please one person per day; Today doesn't seem like your day, and 
tomorrow doesn't look to promising either."
"A life? Where can I download that at?"

Contact information:
email: tyler@xxxxxxxxxxxxx
skype: st8amnd127
aim: st8amnd2005
msn: tyler@xxxxxxxxxxxxx
  ----- Original Message ----- 
  From: Sean Farrow 
  To: programmingblind@xxxxxxxxxxxxx 
  Sent: Friday, December 14, 2007 5:50 AM
  Subject: winevent hook functions


  Hi list: 
  I am currently in th procss of writing a winevent hook. having written the 
hook function and placed it in a cynamic link library I now need to load this 
library. I need to perform functions in the dllmain function of the dll that 
contains the hook function. do I need to load the dll inmy process before 
passing a modulehandle along to setwineventhook, I carn't find any examples of 
out-of-context c++ event functions eithe on msdn o inthe msaa sdk.
  Any help apreciated.
  Sean.

Other related posts: