Could not start <My Service>.
Error 1083: The executable program that this service is configured to run
in does not implement the service.
I can manual install and run the service on the command line:
cmd> myservice -install
cmd> myservice -debug
This is based on the SDK's Sample/Winbase/Winnt/Service example and I
haven't changed the service interface at all.
Here is the service installation parts of my INF file:
[MyDriver.ndi.Services]
AddService = MyDriver, 2, MyDriver.Service, MyDriver.EventLog
AddService = MyService,, MyService.Service, MyService.EventLog
[MyService.Service]
DisplayName = %MyService.Service.DispName%
ServiceType = 0x20 ;%SERVICE_WIN32_SHARE_PROCESS%
StartType = 2 ;%SERVICE_AUTO_START%
ErrorControl = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary = %11%\MyService.exe
LoadOrderGroup = NDIS
Description = %MyService.Service.DispName%
[MyService.EventLog]
AddReg = MyService.AddEventLog.reg
[MyService.AddEventLog.reg]
HKR,, TypesSupported, 0x00010001, 0x00000007
Any ideas what's wrong? Perhaps the ServiceType should be 0x10
SERVICE_WIN32_OWN_PROCESS?
((&-<
It works when ServiceType is 0x10 SERVICE_WIN32_OWN_PROCESS.
((&->
"QuasiCodo" <Quas...@Yahoo.com> wrote in message
news:B%lo8.122622$af7.65073@rwcrnsc53...