title: Error when using SetWindowsHookEx in Windows XP, but not in Windows 7
body: <p>I have develop a application that use a global keybord/mouse hook. It works perfect in Windows 7, but not in Windows XP.</p>
  
  <p>When I call SetWindowsHookEx in Windows XP, I get error code 1428</p>
  
  <pre><code>int MouseLowLevel   = 14
  int code = SetWindowsHookEx(MouseLowLevel,
                   MouseHookProc,
                   IntPtr.Zero,
                   0);
  
  private IntPtr MouseHookProc(int nCode, IntPtr wParam, IntPtr lParam) {}
  </code></pre>