Console-based exe COM server

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Is it possible to create a console-based exe COM server, as opposed to a
window-based one? Using ATL, if you use the "module" attribute with a type of
"exe" it generates the entry-point for WinMain, not main. Is there anything
that I can do to ensure that my exe COM server is console-based with a main
entry point, and accepts input parameters and prints messages to the console
(and still registers via /regserver)?

Thank you very much,

Leo
.



Relevant Pages

  • DCOM
    ... I have an ATL EXE Server with one simple com object in it. ... I have an ATL DLL who has one simple com inside it. ...
    (microsoft.public.vc.atl)
  • Re: COM beginner - 2 apps using the same instance of a component.
    ... Then an in-proc server is a wrong approach for you. ... out-of-proc (EXE) server. ... > supporting ATL. ...
    (microsoft.public.win32.programmer.ole)
  • the life cycle of EXE server?
    ... Lightweight Components with ATL>> and really appreciate for your help ... when I use smart pointer in the client(ATL EXE project)to invoke the ... show messagebox to demostrate the server is running. ... My question is that IS smart pointer the reason for this situation? ...
    (microsoft.public.vc.atl)
  • ATL Server (EXE) run a GUI
    ... Server that is an EXE. ... the ATL project is NOT attributed. ...
    (microsoft.public.vc.atl)
  • ATL Server (EXE) run a GUI
    ... Server that is an EXE. ... the ATL project is NOT attributed. ...
    (microsoft.public.dotnet.framework.interop)