🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: log off/ application terminate

#16004
From: Remy Lebeau (TeamB)
Date: Tue, 03 Jun 2003 21:03
19 lines
1921 bytes
"Duane Hebert" <duane@nitrex.com> wrote in message
news:3edd0644$2@newsgroups.borland.com...

> I created a new application.  I added a function that we
> generally use to write to files.  I use it in the dtor.  On
> close it works as expected. I logoff and it doesn't write
> the file.  I'm actually doing this at my desk. I was pretty
> surprised.

Which exactly OS are you using?  If XP, are you using the Fast User
Switching feature?  If so, then keep in mind that your application could
still actually be running when you login to another user, so the shutdown
code in the application is not called yet because the application was not
actually told to shut down by the OS.  Also keep in mind that Builder's VCL
currently has no native support for XP at all.


Gambit
Technical Details
Message-ID: <3edd0c7e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3edccd80@newsgroups.borland.com> <3edcd422$1@newsgroups.borland.com> <3edcdbb6@newsgroups.borland.com> <3edcea6f$1@newsgroups.borland.com> <3edcf095$3@newsgroups.borland.com> <3edd00ef$2@newsgroups.borland.com> <3edd0644$2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,f4b8abe1a2fab575
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-03 14:09:28 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3edccd80@newsgroups.borland.com> <3edcd422$1@newsgroups.borland.com> <3edcdbb6@newsgroups.borland.com> <3edcea6f$1@newsgroups.borland.com> <3edcf095$3@newsgroups.borland.com> <3edd00ef$2@newsgroups.borland.com> <3edd0644$2@newsgroups.borland.com>
Subject: Re: log off/ application terminate
Date: Tue, 3 Jun 2003 14:03:50 -0700
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: 207.175.226.26
Message-ID: <3edd0c7e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1054674046 207.175.226.26 (3 Jun 2003 14:00:46 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail