I had a C# application on VS2003, running on XP and WinServer2003 (both x86 OS).
In this application I use the hook "SetWindowsHookEx" to detect user activities and make a auto logout.
I migrated the application to VS2010 (.Net4.0) which I run on WinServer2008R2 and Win7prof, both running on x64 machines. The target platform of the application is still x86.
Unfortunately, the "SetWindowsHookEx" is not working any more :-(
What could be the reason?
Thanks for any help!!