Where can i find which API functions i need to keep track of all the App that's been used since the OS started?:confused:
Printable View
Where can i find which API functions i need to keep track of all the App that's been used since the OS started?:confused:
You basically have two options, and both of them are pretty complicated.
Option 1: Query the running object table at set intervals to see what is running and what isn't.
Option 2: Install a CBT hook (WH_CBT ) at start up and track the creation and destruction of application's main windows.
There is some code at Merrion Computing Downloads which will get you started on option 2....download the EventCtl.zip file and do a search for StartHook()
HTH,
Duncan
What is that option 2 all about? sorry but i'm lost...:rolleyes:
Thanks man!!!!:D