ADO in a console? ADO in a service?

From: Philippe Auphelle (pauphelle_at_wanadoo.fr)
Date: 11/25/04

  • Next message: Asaf: "Re: How to remove the Duplicate Index error message?"
    Date: Thu, 25 Nov 2004 16:50:58 +0100
    
    

    Dear All,

    Is it possible to reliably run ADO operations from applications
    running without a win message pump, such as

    - a console?
    - a service?

    Are there limitations, pitfalls and/or funny behaviors to be aware of?

    TIA,

    Philippe


  • Next message: Asaf: "Re: How to remove the Duplicate Index error message?"

    Relevant Pages

    • Re: Deriving a regular class from a template?
      ... >> should be avoided by anyone who doesn't understand the pitfalls and ... >> limitations. ... not as a design choice. ... Claudio Puviani ...
      (comp.lang.cpp)
    • Re: Deriving a regular class from a template?
      ... Pete Becker wrote: ... >> should be avoided by anyone who doesn't understand the pitfalls and ... >> limitations. ... no one is advocating not reading the documentation or not designing ...
      (comp.lang.cpp)
    • Re: Deriving a regular class from a template?
      ... It's simply error-prone, and so ... The "pitfalls" are: ... the behavior is undefined if you delete an object of a derived type ... The "limitations" are: ...
      (comp.lang.cpp)
    • Re: ATL COM server for System Tray Icon
      ... You need to run a message pump instead - see ... GetMessage, DispatchMessage (yes, console applications can have a message ... The example works fine from the user app supplied in the source code. ... launching this COM server from a console app, ...
      (microsoft.public.vc.atl)
    • Re: Need help in creating a pop-up window
      ... I want to create a popup in console window environment. ... MessageBox and DialogBox each have a built in message pump, which makes them easy to use in a console program. ... But windows created with CreateWindowrequire you to provide a message pump and other infrastructure, which would require an extensive re-architecting of your console program. ...
      (microsoft.public.vc.language)