Re: ADO in a console? ADO in a service?
From: Brian Bushay TeamB (BBushay_at_Nmpls.com)
Date: 11/26/04
- Next message: Brian Bushay TeamB: "Re: lookup filed sort"
- Previous message: Andrew Lockwood: "Connecting to Microsoft Outlook folders"
- In reply to: Philippe Auphelle: "ADO in a console? ADO in a service?"
- Next in thread: Philippe Auphelle: "Re: ADO in a console? ADO in a service?"
- Reply: Philippe Auphelle: "Re: ADO in a console? ADO in a service?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Brian Bushay TeamB: "Re: lookup filed sort"
- Previous message: Andrew Lockwood: "Connecting to Microsoft Outlook folders"
- In reply to: Philippe Auphelle: "ADO in a console? ADO in a service?"
- Next in thread: Philippe Auphelle: "Re: ADO in a console? ADO in a service?"
- Reply: Philippe Auphelle: "Re: ADO in a console? ADO in a service?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|