[DUG] Show splash screen across two exe files

Steve Peacocke steve.peacocke at gmail.com
Tue Jul 31 13:21:26 NZST 2007


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
>


More information about the Delphi mailing list