Re: ATL Server (EXE) run a GUI
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@mvps.org
MVP VC FAQ: http://vcfaq.mvps.org
=====================================
"Cartoper" <cartoper@gmail.com> wrote in message
news:1185892983.891850.74070@x35g2000prf.googlegroups.com...
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