SimpleSC SetServiceLogon fails with XYNTService
I can use the SimpleSC::SetServiceLogon function with a service created by the Microsoft Resource Kit srvany.exe utility.
I'm trying to do the same with a service created by XYNT Service, but SetServiceLogon fails with error 87 (invalid parameter?) and GetErrorMessage doesn't return an error code.
XYNT Service has some useful features over srvany.exe so I would like to get it working.
Any ideas how to debug this? How does SetServiceLogon interact with Windows services?
Thanks