Re: Service + DLL + Display Questions

You cannot install any program with a GUI interface as a service. If it works, that is
apparently an accident (it will not be supported on Vista and later systems).

The usual way to produce a service with a GUI is to produce a service without a GUI and
create a named pipe by which it communicates to a GUI-based app. You can apply ACLs to
the pipe so that its accessibility is restricted.

You cannot run these as a single instance.

On Fri, 13 Mar 2009 21:06:52 +0100, "G. Helbig" <spam@xxxxxxxxxx> wrote:

Sorry for my bad english...
I develop on WinXP and MFC. My main program called mainDialog include a
dll with a view. It works. The second program install the mainDialog as a
service program (Local System Account), it works too. When i start my
computer and i log on the mainDialog, the mainDialog is visible (Data
exchange between service and Desktop is checked). My Question... What is
the best way? I would like to start the mainDialog as service (invisible)
and in the user account as program (visible), when the user like it. The
mainDialog must be running as one instance.
I hope you understand me, thx for your answers.
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
MVP Tips:

Relevant Pages

  • Re: BSD Questions.
    ... You are probably more used to doing things via a GUI. ... Whilst BSD does ... more suited to running a GUI and some install one as the default. ... I would suggest that you try some to the Linux distributions - you can ...
  • Re: Installation question
    ... I am strung between two worlds, gui ala Mac and command line Unix. ... using dpkg to actually install each package. ... eventually I want to do some GUI type programming. ... Debian is very powerful _and_ very flexible. ...
  • Re: Ubuntu on old machine
    ... that would be fun to run as CNC on Emc. ... Will Ubuntu 8.04 install and run on such a machine? ... I do not know wether EMC is able to run from terminal, ... If the GUI is killed there is some more memory ...
  • Re: Newbie two homed question.
    ... >> partition on the doze box and install the RH 9 with the gui stuff, ... I though you had not loaded the gui tools. ... and have the firewall up before enabling those servers. ... ALways login in a user account to do the ...
  • Re: Linux server help
    ... Mandrake does quite well with no GUI. ... They also give the option to install other desktops. ... I opened a window and su-ed to root, typed "urpmi fvwm2" ... So run FVWM2 on Linux. ...