🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Monitoring what a user's doing

#15283
From: Pete Fraser
Date: Tue, 15 Jul 2003 10:58
19 lines
1693 bytes
Hi,
I'm trying to write a service that monitors which user is logged on and what
apps they are running. Does anyone know if:
a) This is possible and
b) Any pointers as to how to do it

I've got the basic service going but can't find out how to find out the
current user and their tasks.
I have written loops using GetTopWindow and GetNextWindow before but need to
know how to use these within a service.

Or is it better to write an app that gets started at login time?

What I want is something that can't be shut down by any old user (It's an
app to stop kids spending too much time on Messenger etc and thus not doing
homework and I don't want them to be able to shut it down themselves!)

Thanks for any pointers,
Pete
Technical Details
Message-ID: <3f13de65$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!news-in-sterling.newsfeed.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,c2e41c15dcc5c61d,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-15 04:04:03 PST
From: "Pete Fraser" <pete.fraser@at.frasersoft.dot.net>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Monitoring what a user's doing
Date: Tue, 15 Jul 2003 11:58:46 +0100
Lines: 21
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: 195.12.18.1
Message-ID: <3f13de65$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1058266725 195.12.18.1 (15 Jul 2003 03:58:45 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!news-in-sterling.newsfeed.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail