Re: advapi32: Do not terminate a regular program if it calls StartServiceCtrlDispatcher.

2013-03-27 Thread Alexandre Julliard
Alexander Morozov writes: > @@ -592,7 +586,26 @@ BOOL WINAPI StartServiceCtrlDispatcherA( const > SERVICE_TABLE_ENTRYA *servent ) > services[i] = info; > } > > -service_run_main_thread(); > +disp = HeapAlloc( GetProcessHeap(), 0, sizeof(*disp) ); > + > +if (!(disp->ma

Re: [2/2] advapi32: Do not terminate a regular program if it calls StartServiceCtrlDispatcher.

2012-04-04 Thread Alexandre Julliard
Alexander Morozov writes: > This patch partially fixes #30290. > > Pipe is renamed to spipe (service pipe) to prevent compilation error: > service.c:88:15: error: ‘pipe’ redeclared as different kind of symbol > /usr/include/unistd.h:414:12: note: previous declaration of ‘pipe’ was > here You sho

Re: advapi32: Fix prototypes for StartServiceCtrlDispatcher[AW]

2007-01-31 Thread Francois Gouget
On Wed, 31 Jan 2007, Bang Jun-Young wrote: > Please ignore this patch. There are subtle differences between GCC and MSC I > didn't > notice at the moment of producing this patch. It would be better to keep it > local > in my own repos. ;-) [...] > > -BOOL WINAPI StartServiceCtrlDispatcherA( LPSE

Re: StartServiceCtrlDispatcher/

2006-01-22 Thread Vitaliy Margolen
Sunday, January 22, 2006, 5:28:18 PM, Uwe Bonnes wrote: >> "Vitaliy" == Vitaliy Margolen <[EMAIL PROTECTED]> writes: > Vitaliy> Now we have other thread waking up and continuing on with > Vitaliy> error?! Did you skipped something? Because I haven't seen why > Vitaliy> it ends up h

Re: StartServiceCtrlDispatcher/

2006-01-22 Thread Uwe Bonnes
> "Vitaliy" == Vitaliy Margolen <[EMAIL PROTECTED]> writes: Vitaliy> Now we have other thread waking up and continuing on with Vitaliy> error?! Did you skipped something? Because I haven't seen why Vitaliy> it ends up here. >> 0009: get_console_input_info( handle=(nil) ) 0009:

Re: StartServiceCtrlDispatcher/

2006-01-22 Thread Vitaliy Margolen
Saturday, January 21, 2006, 5:01:42 PM, Uwe Bonnes wrote: > Hallo, > jtagserver.exe from the Altera Quartus suite hangs in a call to > ConnectNamedPipe (as a result of a call to StartServiceCtrlDispatcherA()) > Anybody an idea what is going wrong? I don't think that's what happens: > Appended a

StartServiceCtrlDispatcher/

2006-01-21 Thread Uwe Bonnes
Hallo, jtagserver.exe from the Altera Quartus suite hangs in a call to ConnectNamedPipe (as a result of a call to StartServiceCtrlDispatcherA()) Anybody an idea what is going wrong? Appended a +relay,+snoop,+ntdll,+file,+server,+advapi log from the point where the main process is started. -- U

Re: Let StartServiceCtrlDispatcher handle services started other than with StartService (with patch)

2004-08-24 Thread Mike McCormack
Alexander Yaworsky wrote: I even tried to submit a patch but it was silently ignored. Let me remind about this patch -- http://www.winehq.org/hypermail/wine-patches/2004/06/0174.html maybe it will be useful. If you have suggestions, I promise to rewrite it as required ;)) Hi Alexandre, Your patc

Re: Let StartServiceCtrlDispatcher handle services started other than with StartService (with patch)

2004-08-24 Thread Alexander Yaworsky
Hello > Dont take offence if your patch goes to the void. Just resubmit after a > a week to give it a chance to filter through Alexandre's tree. Its > possible either I merely meant that maybe something wrong with implementation. Well, I will resubmit it soon.

Re: Let StartServiceCtrlDispatcher handle services started other than with StartService (with patch)

2004-08-24 Thread Shachar Shemesh
Steven Edwards wrote: Hi Alexander, --- Alexander Yaworsky <[EMAIL PROTECTED]> wrote: I even tried to submit a patch but it was silently ignored. Let me remind about this patch -- http://www.winehq.org/hypermail/wine-patches/2004/06/0174.html maybe it will be useful. If you have suggestions, I p

Re: Let StartServiceCtrlDispatcher handle services started other than with StartService (with patch)

2004-08-24 Thread Steven Edwards
Hi Alexander, --- Alexander Yaworsky <[EMAIL PROTECTED]> wrote: > I even tried to submit a patch but it was silently ignored. Let me > remind about this patch -- > http://www.winehq.org/hypermail/wine-patches/2004/06/0174.html maybe > it will be useful. If you have suggestions, I promise to > rewr

Re: Let StartServiceCtrlDispatcher handle services started other than with StartService (with patch)

2004-08-24 Thread Alexander Yaworsky
HEN | | | | CreateProcess===> ... | wait for call to | initialization | StartServiceCtrlDispatcher| must not be longer | timeo

Re: Let StartServiceCtrlDispatcher handle services started other than with StartService (with patch)

2004-08-19 Thread Alexander Yaworsky
I think that this is incorrect. If you let StartServiceCtrlDispatcher to continue with no error, you make calling program think that it is running under control of service control manager. When service program handles somehow any kind of its launching, the behaviour may be quite different. Also