🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: restart exe

#353
From: Remy Lebeau (TeamB)
Date: Fri, 09 May 2008 23:02
15 lines
1659 bytes
"Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket> wrote in message 
news:4824c3b9$1@newsgroups.borland.com...

> perhaps giving the HWND of the main window so that the new copy
> can, once it initializes, place its windows at the same place and send
> a message to the original which the original will use as a command to end.

Alternatively, pass the first instance's process ID as a parameter to the 
second instance so it can wait for the first instance to full exit before 
then continuing with its own work.  Then the first instance can exit itself 
once the new process has been created.  No sending messages needed.


Gambit 
Technical Details
Message-ID: <4824d82b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder.news-service.com!feeder.news-service.com!tudelft.nl!txtfeed1.tudelft.nl!newsfeed.straub-nv.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4824b804@newsgroups.borland.com> <4824c3b9$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: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4824b804@newsgroups.borland.com> <4824c3b9$1@newsgroups.borland.com>
Subject: Re: restart exe
Date: Fri, 9 May 2008 16:02:38 -0700
Lines: 17
Organization: Lebeau Software
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
NNTP-Posting-Host: 207.178.157.90
Message-ID: <4824d82b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1210374187 207.178.157.90 (9 May 2008 16:03:07 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder.news-service.com!feeder.news-service.com!tudelft.nl!txtfeed1.tudelft.nl!newsfeed.straub-nv.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail