Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

BDE Delay

Posted on 1997-03-14
2
Medium Priority
?
204 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 200 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

670 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