I have an app which does basically the same kind of Idle Tracking as
It works fine on 2k, 98, NT, and XP.
However, I just received a comment that a user running WinXP is having trouble running a RunAs.. Application. (iow, running an app as a different su'd user in windows xp).
I was able to verify the same problem, by running from a cmd prompt: runas /user:DOMAIN\USERNAME notepad
When Notepad comes up it's blank (i.e not accepting mouse and keyboard events) until I kill the hook-owning app described above.
What needs to be done to allow UI windows apps with system hooks to persist through multi-users in a single shell (via running "RunAs" within windows)? I think this might be related to a recent security patch of XP, but how can I work around this?
Is this something in the code, or is this just a compile/link-time flag that I need to set?
Thanks in advance!