Quote:
Originally posted by FillYourBrain
what you're saying is that I have to set the "thread priviledge" for the app that I'm shutting down? this would enable me to see it across user logins and PostMessage to it?
Not really...you are just telling the system that the mian thread in your prog is of a sufficient priority to open handles to processes not created by your user account.... if you use the BoostPriv function that I wrote below, the main thread will be given the ability to override any restriction to this.....