🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

System flags

#12793
From: Christoffer Christoffersen
Date: Tue, 18 Nov 2003 07:53
13 lines
1569 bytes
Hello everyone!

I have a small problem with a program , that runs in the background on som
of our company�s computers. The thing is when a user try�s to close his
computer down nothing happens, it just hangs. The program that hangs is an
old one and made by us (not me). What I would like to do is a another
program that resides in the background and check when the user try�s to
close down his system, then would my program close down the old program
before the system try�s to close it . But in order to work I need to know
when a user try�s to close down. Is there any systemflags that I can read
before the os starts to send "WM_ENDSESSION" to all running applications ?

Christoffer
Technical Details
Message-ID: <3fb9cfe0$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.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

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10cc67,7c3a174ff8c0e9fb,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-11-18 00:09:32 PST
From: "Christoffer Christoffersen" <christoffer.christoffersen@lxg.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: System flags
Date: Tue, 18 Nov 2003 08:53:32 +0100
Lines: 15
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: 213.88.240.2
Message-ID: <3fb9cfe0$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1069141984 213.88.240.2 (17 Nov 2003 23:53:04 -0700)
Path: arc1-ca.pugleaf.net!archiver1.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