Article View: borland.public.cppbuilder.database.ado
Article #1648TADOConnection and Win2000 Services
From: Cesare
Date: Fri, 05 Mar 2004 22:06
Date: Fri, 05 Mar 2004 22:06
11 lines
1409 bytes
1409 bytes
Hi, I aplogize in advance for these questions, I am not a "professional". Is it possible to use a TADOConnection object in a Windows2000 service? Is it possible to set the connection paramenters at run-time? Is there some specific code needed to set the "ConnectionString" property at runtime other then assigning an "AnsiString" string to the "WideString"? Is it really a need to use the CoInitialize() function? and why? If TADOConnection is a VCL object, why is it allowed to be used in a Service? Thanks Cesare
Technical Details
Message-ID:
<4048f9f2$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!petbe.visi.com!news.octanews.net!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,9b1758f7e96fdfbf,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2004-03-05 14:10:22 PST From: "Cesare" <cquarinto@shaw.ca> Sender: "Cesare" <cquarinto@shaw.ca> Reply-To: "Cesare" <cquarinto@shaw.ca> Subject: TADOConnection and Win2000 Services Newsgroups: borland.public.cppbuilder.database.ado X-User-Info: 199.175.65.31 NNTP-Posting-Host: 207.105.83.66 Message-ID: <4048f9f2$1@newsgroups.borland.com> Date: 5 Mar 2004 14:06:42 -0800 X-Trace: newsgroups.borland.com 1078524402 207.105.83.66 (5 Mar 2004 14:06:42 -0800) Lines: 13 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!petbe.visi.com!news.octanews.net!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail