Results 1 to 4 of 4

Thread: Keeping track of App

  1. #1

    Thread Starter
    Addicted Member _Yoyo's Avatar
    Join Date
    Apr 2001
    Location
    Dominican Republic
    Posts
    187

    Question

    Where can i find which API functions i need to keep track of all the App that's been used since the OS started?

  2. #2
    Frenzied Member MerrionComputin's Avatar
    Join Date
    Apr 2001
    Location
    Dublin, Ireland
    Posts
    1,616
    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

  3. #3

    Thread Starter
    Addicted Member _Yoyo's Avatar
    Join Date
    Apr 2001
    Location
    Dominican Republic
    Posts
    187
    What is that option 2 all about? sorry but i'm lost...

  4. #4

    Thread Starter
    Addicted Member _Yoyo's Avatar
    Join Date
    Apr 2001
    Location
    Dominican Republic
    Posts
    187
    Thanks man!!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width