[muscle] Re: VS: Re: VS: Re: daemon

  • From: "VANHERP Wim" <Wim.VANHERP@xxxxxx>
  • To: <muscle@xxxxxxxxxxxxx>
  • Date: Sat, 7 May 2005 15:14:36 +0200

The objective is to hide the muscled window itself, so that it can be
found (or closed) like a process.  I'm writing  a program that consists
of different modules and i don't want them all to display a window on
the screen.  The user just gets his GUI, all the rest is hidden.






-----Oorspronkelijk bericht-----
Van: muscle-bounce@xxxxxxxxxxxxx [mailto:muscle-bounce@xxxxxxxxxxxxx]
Namens Mika Lindqvist
Verzonden: vrijdag 6 mei 2005 18:39
Aan: muscle@xxxxxxxxxxxxx
Onderwerp: [muscle] VS: Re: VS: Re: daemon


Really lazy way to start muscled is to use command like this:

start "MUSCLE Daemon" muscled.exe privall=3D3D127.0.0.1

=2E.. which will create a new window for muscled and the old window =3D
returns to prompt.

Best thing is that it doesn't need code changes at all ;)

> -----Alkuper=3DE4inen viesti-----
> L=3DE4hett=3DE4j=3DE4: muscle-bounce@xxxxxxxxxxxxx [mailto:muscle- =20
>bounce@xxxxxxxxxxxxx] Puolesta VANHERP Wim
> L=3DE4hetetty: 6. toukokuuta 2005 19:15
> Vastaanottaja: muscle@xxxxxxxxxxxxx
> Aihe: [muscle] Re: VS: Re: daemon
>=3D20
> An easier way could be to hide the command box in the windows version.

>There is a function ShowWindow(long hWnd, long nCmdShow)that resides =3D=

in
> user32.DLL that can do this thing.
>=3D20
>=3D20
>=3D20
>=3D20
>=3D20
>=3D20
>=3D20
> -----Oorspronkelijk bericht-----
> Van: muscle-bounce@xxxxxxxxxxxxx [mailto:muscle-bounce@xxxxxxxxxxxxx]
> Namens Jeremy Friesner
> Verzonden: donderdag 5 mei 2005 21:13
> Aan: muscle@xxxxxxxxxxxxx
> Onderwerp: [muscle] Re: VS: Re: daemon
>=3D20
>=3D20
> On Thursday 05 May 2005 10:21, Mika Lindqvist wrote:
> > In my machine it doesn't return to shell when I run muscled...
>=3D20
> Right you are -- I see that that is the case on my Windows machine =3D
also.
> I=3D3D20
> imagine it is because muscled is compiled as a DOS program instead of

>a=3D3D20=3D3D =3D20
> Windows program?  If that is the case, then it might be possible to
> change=3D3D20
> this behaviour by changing the compiler settings so that muscled is
> compiled=3D3D20
> as a Windows program (albeit one that never actually opens any =3D
Windows).
>=3D20
> OTOH, if anyone knows how to make muscle's BecomeDaemonProcess() =20
>and/or=3D3D20=3D3D =3D20
> SpawnDaemonProcess() functions work as documented under Windows, I =3D
would
> be=3D3D20
> happy to include that code for the next release!
>=3D20
> -Jeremy
>=3D20
> *** Disclaimer ***
>=3D20
> Deze e-mail, met eventuele bijlagen, is alleen bestemd voor de persoon

>=3D
of=3D3D
>  organisatie aan wie hij gericht is en, in voorkomend geval, alleen =3D=

voor =3D3D
> het daarin opgegeven doel of gebruik. Hij kan vertrouwelijke =3D
informatie b=3D3D
> evatten en/of persoonlijke standpunten die niet noodzakelijk met die =3D=

van =3D3D
> de VRT stroken. Elk gebruik van deze informatie (zoals bewerken, =3D
doorstur=3D3D
> en, geheel of gedeeltelijk reproduceren of verspreiden in welke vorm =3D=

ook)=3D3D
>  door anderen dan de geadresseerde, is verboden. Hebt U deze e-mail =3D=

per v=3D3D
> ergissing ontvangen, meld dat dan a.u.b. aan de VRT en wis de e-mail.=20=

> =3D3D20



*** Disclaimer ***

Deze e-mail, met eventuele bijlagen, is alleen bestemd voor de persoon of=
 organisatie aan wie hij gericht is en, in voorkomend geval, alleen voor =
het daarin opgegeven doel of gebruik. Hij kan vertrouwelijke informatie b=
evatten en/of persoonlijke standpunten die niet noodzakelijk met die van =
de VRT stroken. Elk gebruik van deze informatie (zoals bewerken, doorstur=
en, geheel of gedeeltelijk reproduceren of verspreiden in welke vorm ook)=
 door anderen dan de geadresseerde, is verboden. Hebt U deze e-mail per v=
ergissing ontvangen, meld dat dan a.u.b. aan de VRT en wis de e-mail.
=20


Other related posts: