[DUG] Show splash screen across two exe files

Leigh Wanstead leighw at softtech.co.nz
Tue Jul 31 13:31:00 NZST 2007


Thanks for the suggestion.

Actually application a.exe download and update application b.exe from
internet and launch b.exe and close a.exe itself and b.exe update a.exe and
continue to run.

You see that make the issue complex and I just use two splash screen in both
a.exe and b.exe to minimize the code.

Regards
Leigh
www.smootharm.com


-----Original Message-----
From: delphi-bounces at delphi.org.nz
[mailto:delphi-bounces at delphi.org.nz]On Behalf Of Steve Peacocke
Sent: Tuesday, July 31, 2007 1:21 PM
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Show splash screen across two exe files


or,

A opens B, then sits and waits until...

FindWindow('MyForm', nil) <> 0

...then closes. FindWindow is in the Wondows unit and tells you
whether a window is open or not. That way A starts up withthe splash
screen and sits there until it knows that B has loaded and is
displaying it's 'MyForm', then A closes, leaving B to it.

Steve
--
Steve Peacocke
http://stevepeacocke.blogspot.com/

On 31/07/07, Rohit Gupta <rohit at cfl.co.nz> wrote:
> The way mine works is that "a" starts its splash screen (which has the
> progress info on it) and launches "b".  "b" has the identical splash
screen
> and just takes over, the user does not notice that the screen has been
> replaced.  And "a" dies in the background.  Havent had to use any process
> locking means.
>
> Leigh Wanstead wrote:
> Hello everyone,
>
> I got two exe files a.exe, b.exe. I want a.exe startup to show a splash
> screen. And a.exe will launch b.exe and a.exe will quit. I want b.exe once
> finish launching and close the splash screen.
>
> How to do that?
>
> TIA
>
> Regards
> Leigh
> www.smootharm.com
>  ________________________________
>
_______________________________________________
NZ Borland
> Developers Group - Delphi mailing list
Post: delphi at delphi.org.nz
Admin:
> http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe:
> send an email to delphi-request at delphi.org.nz with Subject: unsubscribe
>
> --
>
> Rohit Gupta
> B.E. Elec.   M.E.   Mem IEEE    Associate IEE
> Technical Manager
> Computer Fanatics Limited
>
> Tel     +64 9 4892280
> Fax    +64 9 4892290
> Email  rohit at cfl.co.nz
> Web    www.cfl.co.nz
>
> ________________________________
>
> This email and any attachments contain information, which is confidential
> and may be subject to legal privilege and copyright. If you are not the
> intended recipient, you must not use, distribute or copy this email or
> attachments. If you have received this in error, please notify us
> immediately by return email and then delete this email and any
attachments.
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
> unsubscribe
>
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
unsubscribe




More information about the Delphi mailing list