Services

  • Thread starter Thread starter HMS Surprise
  • Start date Start date
H

HMS Surprise

I am developing an app that reads data from USB devices. Now I need to
set it up as a service. Would like to know of some good documentation
on Windows services.

Thanks,

jh
 
Here's some reading material for you.
USB in a NutShell - Chapter 1 - Introductionhttp://www.beyondlogic.org/usbnutshell/usb1.htm

Snooping the USB Data Streamhttp://www.linuxjournal.com/article/7582

USB Devices Can Crack Windowshttp://www.eweek.com/article2/0,1895,1840141,00.asp
--
XP - WNP
Today is the first day of the
rest of your life.
If you find this response helpful,
rate it below.

Actually I have the devices working. What I need now is info on how to
create a service.

Thanks,

jh
 
in message ..
Actually I have the devices working. What I need now is info on how to
create a service.

Thanks,

jh

Hi,

How to create a service from the ground up or how to simply use your already
developed program as a service?

If the latter, simply just use SVRANY.EXE and INSTSRV.EXE

(Part of Resource Kit, but you can find them seperately by googling.)

Command: INSTSRV YOURPROGRAM SRVANY
(Assuming INSTSRV and SRVANY are in common path and you are in YOURPROGRAM
dir)

Add to registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\YOURPROGRAM [any
optional flags]
- Key Parameters
- String Value Application = C:\path-to\YOURPROGRAM

Then just go into services.msc to config it...
 
Back
Top