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
Solved

BDE Delay

Posted on 1997-03-14
2
199 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

791 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