Article View: borland.public.cppbuilder.nativeapi
Article #14546Capture Running Applications !!
From: Stan
Date: Mon, 11 Aug 2003 10:43
Date: Mon, 11 Aug 2003 10:43
20 lines
1877 bytes
1877 bytes
Hello I am not sure if this is the right group to send my question to because I am new at this groups, so I am sorry if I was mistaken. I want to have my application notified with every application the users run on their pc and have the path of its .exe file captured too, as my application will be running as long as the windows is running "I do not want to terminate these applications" Through my search I found that I will have to make a windows "system wide Hook" in a DLL using the SetWindowsHookEx() , UnhookWindowsHookEx(), CallNextHookEx(), and employ a WH_CBT, which provide the appropriate hook for my situation. my problem comes with the Hook procedure which I do not know how to manipulate, I don't know how send the appropriate message that will contain these desired info. for my applications, I don't know what parameters should I pass to the SendMessage() api, and what should I receive from it ?? thanks Stan
Technical Details
Message-ID:
<3f3771bd@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newsfeed.news2me.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,f52c4c114e4bddc2,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-08-11 03:40:28 PST From: "Stan" <thewatcher@email.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Capture Running Applications !! Date: Mon, 11 Aug 2003 13:43:27 +0300 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 NNTP-Posting-Host: 62.68.241.152 Message-ID: <3f3771bd@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1060598205 62.68.241.152 (11 Aug 2003 03:36:45 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newsfeed.news2me.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail