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@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



.



Relevant Pages

  • Re: Possible bug in Exchange GUI (Exchange System Manager.msc)
    ... Connection settings for SMTP server. ... Script that I used for changing settings and reading them ... And GUI ...
    (microsoft.public.exchange.admin)
  • Re: Fedora Desktop future- RedHat moves
    ... in marketing and they still manage only 30% of the server market. ... I don't as yet know what Ubuntu's niche is - windows malcontents? ... servers due to the desktop support as well as gui management tools. ... Part of the issue in the past has been many admins that new Unix found ...
    (Fedora)
  • Re: Java in umfangreicheren Projekten
    ... > Kopplung durch die bisherige Vorgehensweise verursache. ... Die GUI kennt den Server, ... > als ServerStatusListener am Server und wird entsprechend informiert, ...
    (de.comp.lang.java)
  • Re: Software Testing Tools
    ... you should design and redesign frequently while ... majority of its functionality implemented on the server. ... API for the client such that the UI is an entirely separate component - ... most efficient and reliable way to test the server is not with the GUI ...
    (comp.software.testing)
  • Re: porting curses driven to gui application
    ... > more than just replace the curses interface by a GUI. ... > don't have a X server (e.g. because they are just running Windows ... > running on the machine where the database is also running. ... > server and the client on the user side. ...
    (comp.unix.programmer)