|
Starting win32 service in vista
I have a win32 windows service written with Visual Studio 6.0 C++. It runs as should in XP without any problems at all. When it starts up, the service starts to write to a log file and also reads an xml configuration file for settings call config.xml.
However, when I attempt to run the service, starting it from the service mgr in vista, it says the service started but no logfile was created as well as I played a trick on it and deleted the config file it needs and it still says the service started successfully.
Anyone have any idea why vista does this? I am new to vista but very experienced with XP and below and I have found no idea why vista is telling me the service started successfully when it hasn't and shouldn't have.
Even using line commands like net start etc..still gives me success but ti shouldn't and the service isn't really running anyway.
Any input would be greatly appreciated!!
Thanks,
Robert
|