Re: ADO in a console? ADO in a service?

From: Brian Bushay TeamB (BBushay_at_Nmpls.com)
Date: 11/26/04


Date: Thu, 25 Nov 2004 20:40:57 -0600


>Is it possible to reliably run ADO operations from applications
>running without a win message pump, such as
>
>- a console?
>- a service?
Yes you can use ADO in a service or console app

>Are there limitations, pitfalls and/or funny behaviors to be aware of?
ADO uses COM. CoInitialize needs to be called in any thread you use ADO in and
CoUninitialize should be called when you are finished.

--
Brian Bushay (TeamB)
Bbushay@NMPLS.com


Relevant Pages

  • Re: Blackfish Questions
    ... Craig Stuntz [TeamB] wrote: ... What does Borland/Codegear have against Ado, ... AFAIK Interbase ...
    (borland.public.delphi.non-technical)
  • Re: D9 Rumor Mill: Multiunit namespaces, Win32 enhancements, Refactoring
    ... Dave Nottage (TeamB) wrote: ... Yes, but we were told to say good bye to SQL Links when D6 came out, so ... as Dan Miser suggested and bought 3rd party dbExpress MSSQL driver. ... so we had to give up and go ADO. ...
    (borland.public.delphi.non-technical)
  • Re: Will there be another patch to Delphi 7?
    ... > It could be a change in the ADO, since my treeview is data driven. ... Nick Hodges -- TeamB ...
    (borland.public.delphi.non-technical)
  • Re: size limit of BLOB field
    ... "Bill Todd" wrote in message ... > TeamB cannot answer questions received via email ... >> Because of the size limit of BDE, I am trying to switch BDE to ADO. ...
    (borland.public.delphi.database.ado)
  • Re: detect record change
    ... TeamB cannot answer questions received via email ... Terry wrote: ... > using D6 and ado ... > user changed records. ...
    (borland.public.delphi.database.ado)