Hi all,<br>
<br>
Is it possible to write a C function to detect a Window's Startup (or even an application startup, like Microsoft Word) and another to stop it from starting up?<br>
<br>
If so, how to do it?<br>
<br>
Thanx.
You could arrange for your program to be in the StartUp group. You would know when someone logged in then.<br>
<br>
Alternatively - you could install your program as a Windows Service marked for automatic startup. This is probably the cleaner way to do this as your ordinary user won't be able to remove it.<br>
<br>
Mike <p>Mike Lacey<br><a href=mailto:Mike_Lacey@Cargill.Com>Mike_Lacey@Cargill.Com</a><br><a href=
Thanx mike. The other method I would like to use is to use interrupts. Through interrupts you can trap the pid's of the program running. Then you can check in the ID table for that . If it is running you can get the message as TRUE . <br>Does that answer your question ?<br>Thanx<br>Siddhartha Singh<br><A HREF="mailto:ssingh@aztecsoft.com">ssingh@aztecsoft.com</A>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.