Update of /cvsroot/pywin32/pywin32/win32/src
In directory sc8-pr-cvs1:/tmp/cvs-serv27813/win32/src
Modified Files:
PythonService.cpp
Log Message:
Print a friendlier message when starting the service, indicating that you
don't start the service directly via the executable.
Index: PythonService.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/src/PythonService.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** PythonService.cpp 9 May 2002 05:54:53 -0000 1.4
--- PythonService.cpp 6 Oct 2003 13:01:49 -0000 1.5
***************
*** 480,484 ****
#endif
printf(" -debug servicename [parms] - debug the Python service.\n");
! printf("\nStarting service - this may take several seconds - please wait...\n");
if (!StartServiceCtrlDispatcher( DispatchTable)) {
--- 480,486 ----
#endif
printf(" -debug servicename [parms] - debug the Python service.\n");
! printf("\nNOTE: You do not start the service using this program - start the\n");
! printf("service using Control Panel, or 'net start %s'\n", svcName);
! printf("\nConnecting to the service control manager....\n");
if (!StartServiceCtrlDispatcher( DispatchTable)) {
|