🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: restart exe

#355
From: Alan Bellingham
Date: Sat, 10 May 2008 08:30
23 lines
1652 bytes
"Boba" <Boba@somewhere.world> wrote:

>Why do you want to restart it?

In *my* case, because the logged-in user is changing. The application
has a login screen displayed before anything else, and when the program
exits, that's when the user is logged out.

So, one of my apps does have a restart button on it, in debug mode, so I
can quickly log out and come back in as a different user for testing
purposes.

>the way my applications respond to a situation
>when they have to be restarted is strictly rebooting
>the system, otherwise you admit your own fault.

Sneaky. I shall have to remember that - no more exception throwing, just
ExitWindowsEx().

Alan Bellingham
-- 
Team Browns
ACCU Conference 2009: to be announced
Technical Details
Message-ID: <svma24pklguak5h0poo30go83b9mipvmib@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder.news-service.com!newsfeeder.dynfx.net!weretis.net!news.isoc.lu!newsgroups.borland.com!not-for-mail
References: <4824b804@newsgroups.borland.com> <48254f54$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ca552fa2ff07584b
X-Google-Attributes: gid10cc67,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Alan Bellingham <alan@lspace.org>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: restart exe
Date: Sat, 10 May 2008 09:30:09 +0100
Organization: Private
Reply-To: alan@lspace.org
Message-ID: <svma24pklguak5h0poo30go83b9mipvmib@4ax.com>
References: <4824b804@newsgroups.borland.com> <48254f54$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 4.2/32.1118
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 193.129.251.253
X-Trace: newsgroups.borland.com 1210408209 193.129.251.253 (10 May 2008 01:30:09 -0700)
Lines: 23
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder.news-service.com!newsfeeder.dynfx.net!weretis.net!news.isoc.lu!newsgroups.borland.com!not-for-mail