Article View: borland.public.cppbuilder.database.ado
Article #5311Re: how access ado in console application ?
From: Arnie Mauer
Date: Wed, 20 Jun 2001 13:57
Date: Wed, 20 Jun 2001 13:57
20 lines
1785 bytes
1785 bytes
Without (and maybe even with?) the Data module, you may have to do a CoInitialize(0) before doing ANY database work. This initializes the COM system. The app should do a CoUninitialize() before terminating. "Mark Cashman" <mcashman@temporaldoorway.com> wrote in message news:3B2EA710.90984548@temporaldoorway.com... > Yes, you can, but it must be a VCL enabled console app. Also, you should > use a data module for your ADO components. It makes life a lot easier to > have design time access to the properties. > > ------ > Mark Cashman (TeamB - C++ Builder), creator of The Temporal Doorway at > http://www.temporaldoorway.com > - Original digital art, writing, music and more - > C++ Builder / JBuilder Tips and The C++ Builder Programmer's Webring > (Join us!) > http://www.temporaldoorway.com/programming/index.htm > ------ > >
Technical Details
Message-ID:
<3b30abba$1_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3b2ba29c_2@dnews> <3B2EA710.90984548@temporaldoorway.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,65a35dea3e08e5c3 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-06-20 07:13:49 PST From: "Arnie Mauer" <arnie@marketexpert.com> Newsgroups: borland.public.cppbuilder.database.ado References: <3b2ba29c_2@dnews> <3B2EA710.90984548@temporaldoorway.com> Subject: Re: how access ado in console application ? Date: Wed, 20 Jun 2001 09:57:15 -0400 Lines: 22 Organization: VRMS X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 209.140.211.97 Message-ID: <3b30abba$1_2@dnews> X-Trace: dnews 993045434 209.140.211.97 (20 Jun 2001 06:57:14 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews