http://bugs.winehq.org/show_bug.cgi?id=30290
Bug #: 30290 Summary: StartServiceCtrlDispatcher does not terminate a process on Windows Product: Wine Version: 1.5.0 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: advapi32 AssignedTo: wine-bugs@winehq.org ReportedBy: amorozov@etersoft.ru Classification: Unclassified
Created attachment 39578 --> http://bugs.winehq.org/attachment.cgi?id=39578 Test service with source code
To reproduce this problem copy test_service2.exe from attachment to windows\system32 and import test_service2.reg to registry. On Windows you need to reboot after. Run test_service with this command (in cmd):
net start test_service
C:\testserv.log will be created. On Wine this file will be empty. But on WinXP it will contain "error 0".
If you run test_service2.exe manulally on Wine it will create empty testserv.log but on WinXP it will contain "error 1063".
This is because Wine`s StartServiceCtrlDispatcher terminates a process and does not return.