I'm having a major issue with my D7 application not loading on some Vista
computers.  It is only affecting 3 or 4 users out of several hundred using
Vista, with most users still using XP where no problems have ever been
reported.  The app itself hasn't changed much over several years.

I added some ShowMessages to the app to attempt to pinpoint where it is
hanging, and this turned out to be in the project source file...

SplashForm := TSplashForm.Create(Application);
SplashForm.Show;
showmessage('Initialize 1');
Application.Initialize;
showmessage('Initialize 2');
Application.Title := 'Studio';
Application.CreateForm(TStudioForm, StudioForm);
showmessage('Initialize 3'); <<< IT DOESN'T GET HERE

A user reports the last message is 'Initialize 2'.
 
One user reported the problem started after Windows Update installed Vista
SP2, but other users had this problem from day 1 with SP1.

I have had Vista SP1 installed here for 12 months or more and never had any
problem running my software.  I recently updated to SP2 and still no
problem.

I believe all the Initialization sections of all units are executed during
the Uses clauses above this code.  StudioForm itself doesn't have an
Initialization section.  I've checked all the Initialization sections of all
my units and they execute before 'Initialize 1'.

Is there any way to debug this further, or any ideas what the problem could
be.  I have madExcept compiled into the code but it doesn't help.

Is it possible some unit specified in the Uses clause of StudioForm could be
hanging?

Thanks,
Ross.

_______________________________________________
Delphi mailing list -> Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to