Well even if i compromise with WMI then also i cannot get Window Creation events as WMI is being able to give Process Creation Events but not for every top level window created in the system which is a must for my application.
John
Thanks for the suggestion but i am upto Windows API and dont want to use WMI because its show and does not give notifications for every new window created. :)
No the service is running in interactive mode. i suppose this is something related to the same problem that i faced while making a shell application in VB6. i created a similar shell application in vb6 long time back and that also stop receiving events if explorer.exe is not running which is but...
I have written an application in VB.NET which recieves windows creation events from system. i have used registershellhookwindow api and its working just fine. but now i converted this application into windows service and it stops recieving events any more. attached is the class that i have...
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.