Re: ATL Server (EXE) run a GUI
- From: "Alexander Nickolov" <agnickolov@xxxxxxxx>
- Date: Tue, 31 Jul 2007 12:19:20 -0700
Your GUI will act like another client bumping its internal module
reference count when started and decreasing it when the user
dismisses the UI (instead of exiting the process). Check your
command-line parameters for -Embedding switch - that means
your server was started by the COM runtime and you should
not display GUI.
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@xxxxxxxx
MVP VC FAQ: http://vcfaq.mvps.org
=====================================
"Cartoper" <cartoper@xxxxxxxxx> wrote in message
news:1185892983.891850.74070@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I know this can be done, but I don't know how. I have a VS2003 ATL
Server that is an EXE. I need the normal COM Server behavior of
letting the ?SCM? start it up and create COM object and the normal
registering/unregistering command line options.
I also need to make it so that when a user runs the EXE (double
clicking), it acts like a normal Windows application and displays a
configuration dialog.
How do I do that? Oh, the ATL project is NOT attributed.
Cartoper
.
- Follow-Ups:
- Re: ATL Server (EXE) run a GUI
- From: Cartoper
- Re: ATL Server (EXE) run a GUI
- References:
- ATL Server (EXE) run a GUI
- From: Cartoper
- ATL Server (EXE) run a GUI
- Prev by Date: Re: Can a client connect to multiple COM server instances?
- Next by Date: Re: ATL Server (EXE) run a GUI
- Previous by thread: ATL Server (EXE) run a GUI
- Next by thread: Re: ATL Server (EXE) run a GUI
- Index(es):
Relevant Pages
|