🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: probelm with LOGOUT

#13541
From: Alan Bellingham
Date: Wed, 08 Oct 2003 19:37
18 lines
1726 bytes
"Pawe�" <kenya@wp.pl> wrote:

>I run my program using AutoExNT, and that's OK, I can start before any user
>Log in,
>but when the first user tries to logout my program is being closed, and that
>NOT OK,
>what to do to prevent application from closing when user logouts

Run it as a service.

That's what services are for - programs that run all the time, whether
anyone is logged in or not.

Alan Bellingham
-- 
Me <url:mailto:alanb@episys.com> <url:http://www.doughnut.demon.co.uk/>
ACCU - C, C++ and Java programming               <url:http://accu.org/>
The 2004 Discworld Convention                   <url:http://dwcon.org/>
Technical Details
Message-ID: <vpp8ovsp844rg62e8caemoh1f1l16s6n8k@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!in.100proofnews.com!in.100proofnews.com!news2.euro.net!newsgate.cistron.nl!skynet.be!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f8463fe@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10cc67,4c556651f4cffa04
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-08 12:41:56 PST
From: Alan Bellingham <alanb@episys.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: probelm with LOGOUT
Date: Wed, 08 Oct 2003 20:37:42 +0100
Reply-To: alanb@episys.com
Message-ID: <vpp8ovsp844rg62e8caemoh1f1l16s6n8k@4ax.com>
References: <3f8463fe@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 62.49.31.105
X-Trace: newsgroups.borland.com 1065641860 62.49.31.105 (8 Oct 2003 12:37:40 -0700)
Lines: 18
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!in.100proofnews.com!in.100proofnews.com!news2.euro.net!newsgate.cistron.nl!skynet.be!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail