🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: program start detection question

#15045
From: micheal davis
Date: Tue, 22 Jul 2003 23:27
31 lines
2461 bytes
Hi Validimir,

THANKS so much, that was EXACTLY what I was looking for..
BTW I am trying to run the Prevent Program from running example on Windows
XP Home Edition, although it fails to prevent the application from
running..although it should be compatible with Windows XP, so do you have
any suggestions as I am really new to WMI

"Vladimir Afanasyev" <avv@systema.kiev.ua> wrote in message
news:3f1c03db$1@newsgroups.borland.com...
>
> "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: <3f1dc858@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-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!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> <3f1c03db$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-22 16:40:37 PST
From: "micheal davis" <micheal_davis@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
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> <3f1c03db$1@newsgroups.borland.com>
Subject: Re: program start detection question
Date: Tue, 22 Jul 2003 15:27:20 -0800
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 212.103.167.63
Message-ID: <3f1dc858@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1058916440 212.103.167.63 (22 Jul 2003 16:27:20 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail