develooper Front page | perl.wxperl.users | Postings from March 2012

Launching Splashscreen early

From:
Erik Colson
Date:
March 15, 2012 01:06
Subject:
Launching Splashscreen early
Message ID:
m0aa3igufz.fsf@ecocode.net
Hi all,

My app is packaged in an exe with PAR. I'm using a splashscreen with
following code, but (of course) the splashscreen only shows up once the
exe is decompressed and perl is lauched. At first start this takes ages
and after that it takes up to 10 secs.

Any idea how I can make the splashscreen show up faster ?

--8<---------------cut here---------------start------------->8---
my $sc;
BEGIN {
    require Wx::Perl::SplashFast;
    $sc = Wx::Perl::SplashFast->new('LOGO.bmp');
}

... # load stuff

$sc->Destroy();

$app->MainLoop();
--8<---------------cut here---------------end--------------->8---


thx
--
erik



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About