🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #990

Executing any ADO operation for the first time

#990
From: Vladimir Stefanovic
Date: Mon, 22 Nov 2004 17:43
19 lines
1482 bytes
Hi,

I noticed that when I execute any ADO operation,
like TADOQuery, for the *first time* the OS is started
some ADO initialisation is executed, so on slower
machines the unpleasant moment of waiting is present.

After that everything is fast, till next OS restart.

How can I made that init from constructor, before the real
users operation is executed, or how can I check if ADO
is initialised, to execute some fake ADO operation from
constructor?




Best regards,
Vladimir Stefanovic
Technical Details
Message-ID: <41a2256a@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!nntp4.phx1!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,97a2a1fcd9c7e8ec,start
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Vladimir Stefanovic" <spam@not.needed>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Executing any ADO operation for the first time
Date: Mon, 22 Nov 2004 18:43:19 +0100
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 213.137.127.169
Message-ID: <41a2256a@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1101145450 213.137.127.169 (22 Nov 2004 09:44:10 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!nntp4.phx1!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail