Re: ADO in a console? ADO in a service?
From: Philippe Auphelle (pauphelle_at_wanadoo.fr)
Date: 11/26/04
- Next message: Doug Szper: "Re: Reading XLS file"
- Previous message: Paolo Mancini: "Re: ADOCommand and grave accent problem"
- In reply to: Brian Bushay TeamB: "Re: ADO in a console? ADO in a service?"
- Next in thread: danny heijl: "Re: ADO in a console? ADO in a service?"
- Reply: danny heijl: "Re: ADO in a console? ADO in a service?"
- Reply: Brian Bushay TeamB: "Re: ADO in a console? ADO in a service?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 26 Nov 2004 14:29:11 +0100
Thanks, Brian.
>ADO uses COM. CoInitialize needs to be called in any thread you use ADO in and
>CoUninitialize should be called when you are finished.
That doesn't seem to be too hard :-)
Does CoInitialize need to be called before the ADO components are even
created (i.e. before I create the containing datamodule)? /Ph.
On Thu, 25 Nov 2004 20:40:57 -0600, Brian Bushay TeamB
<BBushay@Nmpls.com> wrote:
>
>>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.
- Next message: Doug Szper: "Re: Reading XLS file"
- Previous message: Paolo Mancini: "Re: ADOCommand and grave accent problem"
- In reply to: Brian Bushay TeamB: "Re: ADO in a console? ADO in a service?"
- Next in thread: danny heijl: "Re: ADO in a console? ADO in a service?"
- Reply: danny heijl: "Re: ADO in a console? ADO in a service?"
- Reply: Brian Bushay TeamB: "Re: ADO in a console? ADO in a service?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|