Displaying 13 results from an estimated 13 matches for "startservicectrldispatch".
Did you mean:
startservicectrldispatcher
2013 Aug 21
2
[PATCH 1/3] Rationalise whitespace to 4 space indentation with no trailing spaces
...mandLineW (), &argc);
-
- SERVICE_TABLE_ENTRY DispatchTable[] = {
- {
- SVCNAME,
- (LPSERVICE_MAIN_FUNCTION) SvcMain
- },
- { NULL, NULL }
- };
-
- if(
- lstrcmpi(
- argv[1],
- TEXT("install")
- ) == 0
- ) {
- SvcInstall();
- return EXIT_SUCCESS;
- }
-
- if (!StartServiceCtrlDispatcher( DispatchTable ))
- {
- SvcReportEvent(TEXT("StartServiceCtrlDispatcher"));
- return EXIT_FAILURE;
+ argv = CommandLineToArgvW (GetCommandLineW (), &argc);
+
+ SERVICE_TABLE_ENTRY DispatchTable[] = {
+ {
+ SVCNAME,
+ (LPSERVICE_MAIN_F...
2006 Jun 18
7
[Fwd: Ruby Win32-Service]
Thoughts?
Dan
-------------- next part --------------
An embedded message was scrubbed...
From: "Patrick Hurley" <phurley at gmail.com>
Subject: Ruby Win32-Service
Date: Sun, 18 Jun 2006 12:46:01 -0400
Size: 2863
Url: http://rubyforge.org/pipermail/win32utils-devel/attachments/20060618/cc346796/attachment.eml
2013 Aug 29
5
[PATCH 1/6] Rationalise whitespace to 4 space indentation with no trailing spaces
...mandLineW (), &argc);
-
- SERVICE_TABLE_ENTRY DispatchTable[] = {
- {
- SVCNAME,
- (LPSERVICE_MAIN_FUNCTION) SvcMain
- },
- { NULL, NULL }
- };
-
- if(
- lstrcmpi(
- argv[1],
- TEXT("install")
- ) == 0
- ) {
- SvcInstall();
- return EXIT_SUCCESS;
- }
-
- if (!StartServiceCtrlDispatcher( DispatchTable ))
- {
- SvcReportEvent(TEXT("StartServiceCtrlDispatcher"));
- return EXIT_FAILURE;
+ argv = CommandLineToArgvW (GetCommandLineW (), &argc);
+
+ SERVICE_TABLE_ENTRY DispatchTable[] = {
+ {
+ SVCNAME,
+ (LPSERVICE_MAIN_F...
2006 Feb 09
0
psexec from sysinternals - did anyone run it under wine?
...emotely
Copyright (C) 2001-2006 Mark Russinovich
Sysinternals - www.sysinternals.com
Starting PsExec service on local system...PsInfSvc -install to
install the service
PsInfSvc -remove to remove the service
PsInfSvc -debug <params> to run as a console app for debugging
StartServiceCtrlDispatcher being called.
This may take several seconds. Please wait.
StartServiceCtrlDispatcher being called.
This may take several seconds. Please wait.
err:advapi:service_control_dispatcher failed to create pipe for
L"PSINFSVC", error = 0
PsInfSvc -install to install the service
PsI...
2011 Aug 29
0
Fwd: [win32-service] win32 daemon error - Service_Main thread exited abnormally (#4)
...for looking at this guys. Have updated the strcpy line.. I''m
still having problems though..
I''m pretty sure it''s coming from the 2 lines:
dispatch_table = [""].pack(''p'') + [svc_main.address].pack(''L'') + "\0"*8
if(!StartServiceCtrlDispatcher(dispatch_table)) ....
I could be mistaken, but StartServiceCtrlDispatcher should fire the
svc_main win32 callback which never happens on my machine. I''ve spent
the past few days trying to see if I could fix it myself but I''m a
little stuck..
Am I right in understanding that th...
2013 Nov 18
7
RHSrvAny: Fix failure on Windows 2003
The newly rebuilt RHSrvAny worked on Windows XP, Windows 2003 R2, and Windows
Vista+, but segfaulted on Windows 2003. After much investigation, the issue
seems to have been with inconsistent use of Unicode.
This series fixes compilation on Microsoft Visual C++ 2010 (the most recent
version which runs on Windows 2003), fixes all compiler warnings, and enabled
warnings during the build. The
2012 Oct 26
0
Wine release 1.5.16
...d istrstream destructor implementation.
msvcp71: Fixed basic_string::ptr implementation.
msvcp60: Fixed overflow in basic_string_char_find_cstr_substr function.
msvcp60: Fixed basic_stringbuf class structure.
msvcp: Sync implementations.
advapi32: Validate arguments in StartServiceCtrlDispatcher.
advapi32: Return from StartServiceCtrlDispatcher when service status is changed to stopped.
advapi32: Don't terminate service when its last thread has exited.
services: Kill service thread after timeout so it can terminate cleanly.
services: Added tests for service th...
2006 Dec 07
0
Fwd: win32-service problems with patch
...SCM.
- SetEvent(hStopEvent);
-
- // Stop the service.
- SetTheServiceStatus(SERVICE_STOPPED, GetLastError(), 0, 0);
-}
-
DWORD WINAPI ThreadProc(LPVOID lpParameter){
SERVICE_TABLE_ENTRY ste[] =
{{TEXT(""),(LPSERVICE_MAIN_FUNCTION)Service_Main}, {NULL, NULL}};
if (!StartServiceCtrlDispatcher(ste)){
- ErrorStopService();
- strcpy(error,ErrorDescription(GetLastError()));
- // Very questionable here, we should generate an event
- // and be polling in a green thread for the event, but
- // this really should not happen so here we go
- rb_raise(cDaemonE...
2013 Apr 12
0
Wine release 1.5.28
...th character advance. It's double of tmAveCharWidth.
fonts: Add Fixedsys font.
fonts: Add Japanese FixedSys font.
Alexander Monakov (1):
winex11.drv: Simplify test for pbuffer availability.
Alexander Morozov (1):
advapi32: Do not terminate a regular program if it calls StartServiceCtrlDispatcher.
Alexandre Julliard (14):
winebuild: Check for delayed import before the library is parsed, in case the real module name is different.
gdi32: Use the Mac driver by default.
user32: Don't print a warning when creating the HWND_MESSAGE parent window.
ntdll: Set the addr...
2013 Apr 26
0
Wine release 1.5.29
...bit IE7/IE8 DLLs
29677 Anno 2070 does not start
29764 blender 2.61 crashes on start (python3.2)
29810 binkw32 crashes in Dragon Age: Origins
29884 plugplay.exe crashes on exit (Exception frame is not in stack limits)
30109 Do not suggest opening files as R/O mode in winhlp32
30290 StartServiceCtrlDispatcher does not terminate a process on Windows
30554 Mass Effect 2 only renders a black screen
30609 I wanna be the Boshy: Screen scaling doesn't work right
30660 Multiple apps/games need wmvcore.dll.WMCreateReader (War of the Immortals)
30835 PDF-XChange Viewer 64-bit crashes when openi...
2007 Dec 28
0
Wine release 0.9.52
...mplement RegisterServiceCtrlHandler on top of RegisterServiceCtrlHandlerEx.
advapi32: Fix RegisterServiceCtrlHandler spec entry.
advapi32: Use exponential backoff when waiting for a service to start.
advapi32: Replace the list of services with an array.
advapi32: Return from StartServiceCtrlDispatcher when all services are stopped.
kernel32: Forward interrupts in 32-bit code to winedos too.
server: Use SIGQUIT instead of SIGTERM to terminate a thread.
advapi32: Move the EnumDependentServicesA/W stubs in service.c where they belong.
wineboot: Simplify the unnecessarily c...
2007 Mar 30
0
Wine release 0.9.34
...n preference to its class icon.
winex11.drv: Rename a local variable to avoid confusion with a global.
winex11.drv: Delete the tile pixmap whenever the drawable is changed.
Jacek Caban (9):
spoolss: Added RevertToPrinterSelf stub implementation.
advapi: Constify argument of StartServiceCtrlDispatcher[AW] functions.
advapi: Improve SetEntriesInAclW stub.
spoolsv: Added spoolsv.exe.
wine.inf: Register Spooler service.
wine.inf: Code clean up.
mshtml: Added DispHTMLDocument dispinterface declaration.
mshtml: Added DIID_DispHTMLDocument to QueryInterface....
2012 Apr 13
0
Wine release 1.5.2
...ly prints blank pages
----------------------------------------------------------------
Changes since 1.5.1:
Akihiro Sagawa (1):
comctl32: Add support for retrieving lpszText in TOOLINFO structure.
Alexander Morozov (2):
advapi32: Regular program should not freeze forever if it calls StartServiceCtrlDispatcher.
kernel32/tests: Add a test for creating named mapping after closing without unmapping.
Alexandre Julliard (21):
ntdll: Move the _chkstk implementation to signal_i386.c.
ntdll: Add a __chkstk entry point for x86_64.
winex11: Fix a potential deadlock in the GradientFill no...