delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/01/28/08:24:30

From: jt AT boxhill DOT com (Jason Tishler)
Subject: Re: how do I write a 'service'?
28 Jan 1997 08:24:30 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <32EE03F2.5105.cygnus.gnu-win32@boxhill.com>
References: <32ECB746 DOT 28D9 AT uz DOT kuleuven DOT ac DOT be>
Reply-To: jt AT boxhill DOT com
Mime-Version: 1.0
X-Mailer: Mozilla 3.0Gold (WinNT; I)
Original-To: Noella Pierlet <Noella DOT Pierlet AT uz DOT kuleuven DOT ac DOT be>
Original-CC: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

> But how do I do that? Any suggestions?

If you have MSDN, then just search for service and you will find articles
and sample code.  If you don't, then you can find most of the information
on Microsoft's web site.  Start with the following:

http://www.microsoft.com/msdn/sdk/platforms/doc/sdk/win32/sys/src/services.htm
http://www.microsoft.com/msdn/sdk/platforms/doc/sdk/win32/func/src/f11_6.htm

You can get sample code from:

http://www.microsoft.com/kb/softlib/mslfiles/HELSVC.EXE

Ignore the OLE stuff (unless you are interested) and look at service.h
and service.c.

Hope this helps.

Jason

-- 
Jason Tishler                        Phone: +1 (212) 989-4455 ext. 120
Box Hill Systems Corporation         Fax:   +1 (212) 989-6817
161 Avenue of the Americas           Email: jt AT boxhill DOT com
New York, NY 10013 USA               WWW:   http://www.boxhill.com
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019