I have an application written in .NET that needs to know when programs are
started by Windows- in a system wide manner.
I tried WMI but that is not as reliable as Microsoft boasts. Sometimes it
doesn't work temporarily, and doesn't work at all on some PCs!
I then turned to Windows Hooks using SetWindowsHookEx function but it seems
that in .NET, it is only possible to hook to keyboard and mouse, and not
other kinds of functions! (is that true?)
Can anybody here provide any alternatives to these approaches, or can
anybody show me how I can use windows hooks for this purpose? I prefer not to
be forced to turn to WMI again.
Thankyou all.
Prabakar Samiyappan - 08 Nov 2006 09:56 GMT
Hi Ehsan,
Write a Windows Services -which will keep track of the application we can
make it to send a message when ever anybody start the application .Insatll
this service while instlling the application itself
Regards
Prabakar
> I have an application written in .NET that needs to know when programs are
> started by Windows- in a system wide manner.
[quoted text clipped - 11 lines]
>
> Thankyou all.