|
Mark Pirogovsky schrieb am 06.06.2007 20:40:
> I am trying to move my server type application from Linux to the Window
> XP environment. What I need -- that this application start itself at
> the boot up time, with no user interaction involved. In unix it was
> easy - just put the command line into one of the congfig files. In
> windows it looks like I have to make this application into the
> "service", install the service into the registry with "Auto" settings,
> register service, etc., etc....
>
> Does anyone have any experience in doing something similar ?
There is a section "Installing as a Service on Windows" in the
Application Developers Guide, page 21-5 (alias p. 403) in VW 7.5.
There is also a package named WinService in the public repository, which
implements an interface to advapi32.dll with many useful functions for
controlling services from within VisualWorks. The method
registerService:path: might be useful.
HTH,
Joachim Geidel
|