Solved

BDE Delay

Posted on 1997-03-14
2
203 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses
Course of the Month6 days, 17 hours left to enroll

622 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