🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Hook Windows logon / logoff?

#8699
From: TerryC
Date: Mon, 27 Sep 2004 20:34
21 lines
1509 bytes
"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote:

>...<

>If you find a better solution, let me know.  My company also 
>has services that need to know when users log in and out, and
>this is what we came up with so far.

Well, I dug a little deeper on Google, and found this:

http://www.codeproject.com/system/logonsessions.asp

It seems to have nearly every possible angle covered on the 
subject.  I downloaded his source and compiled it.  It does 
exactly what it should.  As far as applying it to a service, I 
don't know yet.

Thanks for the guidance!

-Terry
Technical Details
Message-ID: <4158793c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41543ff8$1@newsgroups.borland.com> <4154536a$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,de743ddd08421201
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "TerryC" <terryc.DONTSPAMME@sweetwaterhsa.DONTSPAMME.com>
Sender: "TerryC" <terryc.DONTSPAMME@sweetwaterhsa.DONTSPAMME.com>
Reply-To: "TerryC" <terryc.DONTSPAMME@sweetwaterhsa.DONTSPAMME.com>
Subject: Re: Hook Windows logon / logoff?
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 63.250.179.198     
References: <41543ff8$1@newsgroups.borland.com> <4154536a$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4158793c$1@newsgroups.borland.com>
Date: 27 Sep 2004 13:34:04 -0700
X-Trace: newsgroups.borland.com 1096317244 207.105.83.66 (27 Sep 2004 13:34:04 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail