Windows Event Hooks


From the great Win32 API in the sky comes an introduction to Windows Event Hooks.
 
One of my favourite debuggiong techniques (from the old, unmanaged code days) was subclassing other Windows’ windows.
 
Now there are some obvious ways to protect your code from unwanted processing attention.  This all depends on how you construct your windows.  Naturally, in some cases you won’t have this luxury, but where you do you’ll want to be very careful when calling CreateProcess().
 
Let’s understand the process flow of CreateProcess() by reading this article.
 
Right, once we’ve read up on these two articles I’ll continue on to a couple of interesting tips and tricks which might be useful to you.
Check back for Part 2.
 
* Warning, this might be after TechEd.. but come back and check out the blog anyway.
 

About Rob Sanders

IT Professional and TOGAF 9 certified architect with nearly two decades of industry experience, 18 years in commercial software development and 11 years in IT consulting. Check out the "About Rob" page for more information.

Leave a comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>