From: jt@boxhill.com (Jason Tishler)
Subject: Re: how do I write a 'service'?
28 Jan 1997 08:24:30 -0800
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <32EE03F2.5105.cygnus.gnu-win32@boxhill.com>
References: <32ECB746.28D9@uz.kuleuven.ac.be>
Reply-To: jt@boxhill.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0Gold (WinNT; I)
Original-To: Noella Pierlet <Noella.Pierlet@uz.kuleuven.ac.be>
Original-CC: gnu-win32@cygnus.com
Original-Sender: owner-gnu-win32@cygnus.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@boxhill.com
New York, NY 10013 USA               WWW:   http://www.boxhill.com
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
