A couple of weeks ago, I had a chance to sit down with Gov Maharaj (whose name rhymes with Orange), a developer in the Windows Fundamentals Dev team, and chat about debugging and mitigating application compatibility issues. You can view our discussion on Channel 9: http://channel9.msdn.com/Showpost.aspx?postid=377306.
What is the difference between a shim and hook ?
SR,
A shim intercepts API calls and is wired up by the loader. A hook intercepts Windows Messages and are installed on demand using SetWindowsHookEx.
Chris