Solved

BDE Delay

Posted on 1997-03-14
2
194 Views
Last Modified: 2013-11-23
Is there any way to move the long delay (that occurs when a delphi program starts) so that it occurs AFTER a Splash screen can come up?  I have a splash screen that is dynamically created and shown just after the BEGIN in the DPR file.  This delay seems to be dependent on the number of users which are connected to the .NET file...  I also think that is occurs during the creation of the Session.
0
Comment
Question by:Mike Strauser
2 Comments
 
LVL 3

Accepted Solution

by:
sperling earned 100 total points
ID: 1334762
Create a DLL, which displays the splash form when loaded, and exports a call allowing it to be removed. If you're unsure about DLL's, leave me a comment.

Add a unit to your project. This unit should explicitly load the dll.

Unit SplashForm;

interface
 
  procedure RemoveSplash; stdcall; external 'SPLASHDLL.DLL';

implementation

end.



Make sure this unit is included as the first unit in your projects source. This will force your splash DLL to be loaded before the DBEngine.

Erik.
0
 

Author Comment

by:Mike Strauser
ID: 1334763
I solved the problem without a DLL.  Proper placement of the Splash Forms Unit in the DPR file along with Initialization code in the Spash Unit did the trick - much simpler than a DLL.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
A short film showing how OnPage and Connectwise integration works.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now