httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David D'Antonio" <>
Subject RE: Win32 binary
Date Fri, 17 Oct 1997 22:32:05 GMT
I'd say its pretty trivial, given VC++ and their samples. :-) What is usually involved
is having the program to be started (Apache in this case) write a registry key for its
location. Then the tray reads it and does the API call to start the server (usually 
detached so the ugly DOS window doesn't show up).

If the code is written properly, then it runs under NT 4.0 as well and simply starts/stops
service instead. The nice part is that no changes are needed to the Apache code (its
still command line based). Well, that's not entirely true for Win95 since you'll need some
way for the tray app to get the status and stop the server nicely. What we did is use events
in place of the service manager calls so again, the code worked with a "simple recompile"
oneither win95 or WinNT 4.0.

If people want, I'll see if I can rustle up some code to demonstrate this...


-----Original Message-----
From:	Martin Kraemer []
Sent:	Friday, October 17, 1997 6:21 PM
Subject:	Re: Win32 binary

On Fri, Oct 17, 1997 at 07:19:12PM -0400, David D'Antonio wrote:
> Another idea is to use a tray app to start/stop the server and indicate its status. This
> what I did for Process Software's Win95 http server. This gives one a message loop for
> things like WM_SHUTDOWN, not to mention a popup menu for whatever folks can think
> of to put there. There certainly no problem starting the tray app from the start menu.

Sounds __very__ interesting!! How complicated is it to do that?

| S I E M E N S |  <>  |      Siemens Nixdorf
| ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
| N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request

View raw message