🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #15011

Re: program start detection question

#15011
From: Vladimir Afanasyev
Date: Mon, 21 Jul 2003 15:16
20 lines
1966 bytes
"Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> wrote:
>
>"micheal davis" <micheal_davis@hotmail.com> wrote in message
>news:3f19cb88@newsgroups.borland.com...
>
>> my main task is that when my application is running on
>> the client machine and the client is trying to load another
>> application for example (notepad.exe) I will be notified
>
>There is no way to be notified when an actual process itself is started, nor
>do all processes create windows which a hook would detect being created.

It is not exactly. At least for Windows 2000/XP.
For these OS WMI is native.
WMI can send notifications when process started or finished.
For example, 
http://codecentral.borland.com/codecentral/ccweb.exe/listing?id=19443

Vladimir.
Technical Details
Message-ID: <3f1c03db$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3f18866a@newsgroups.borland.com> <3f188794$1@newsgroups.borland.com> <3f188ab7@newsgroups.borland.com> <3f188f1a$1@newsgroups.borland.com> <3f19cb88@newsgroups.borland.com> <3f1a2b82$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,9f5ad18ed5a65075
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-21 08:26:55 PST
From: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Sender: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Reply-To: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Subject: Re: program start detection question
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 212.82.216.226 212.82.216.226    
X-Forwarded-For: 192.168.0.147
References: <3f18866a@newsgroups.borland.com> <3f188794$1@newsgroups.borland.com> <3f188ab7@newsgroups.borland.com> <3f188f1a$1@newsgroups.borland.com> <3f19cb88@newsgroups.borland.com> <3f1a2b82$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3f1c03db$1@newsgroups.borland.com>
Date: 21 Jul 2003 08:16:43 -0700
X-Trace: newsgroups.borland.com 1058800603 207.105.83.65 (21 Jul 2003 08:16:43 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail