Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2007 Jun : Detecting when application fully loaded?
| Subject: | Detecting when application fully loaded? |
| Posted by: | "Arjan de Haan (office)" (2x nospam nospam adwhaan at hotpop.com) |
| Date: | Tue, 26 Jun 2007 13:42:15 |
Hi.
This may not be the proper group, but....
I like to know if it is possible to determine when our application is completely loaded
into memory. On startup our applications connect to the central database, but when the app
is started from a network drive we sometimes received DB connection timeouts. When started
locally we never get these timeouts. The problem seems to come from the fact the
applications are big (well, sort of): about 16 Mb for the smaller modules.
Currently our connection timeout is set to 5 seconds. By upping that I can resolve most
(if not all) of these timeouts, but I thought it would be nice if I could wait until
everything is in memory before attempting to connect. Any ideas?
Tx.
...Arjan...