Update of /cvsroot/pywin32/pywin32/win32/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28961
Modified Files:
win32trace.cpp
Log Message:
Explicitly create the events in the "Global" namespace, so win32trace
works when used in conjunction with Terminal Services.
Index: win32trace.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/src/win32trace.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** win32trace.cpp 13 May 2004 14:14:53 -0000 1.11
--- win32trace.cpp 9 Sep 2004 01:20:52 -0000 1.12
***************
*** 41,48 ****
const size_t BUFFER_SIZE = 0x20000; // Includes size integer.
! const char *MAP_OBJECT_NAME = "PythonTraceOutputMapping";
! const char *MUTEX_OBJECT_NAME = "PythonTraceOutputMutex";
! const char *EVENT_OBJECT_NAME = "PythonTraceOutputEvent";
! const char *EVENT_EMPTY_OBJECT_NAME = "PythonTraceOutputEmptyEvent";
// no const because of python api, this is the name of the entry
--- 41,48 ----
const size_t BUFFER_SIZE = 0x20000; // Includes size integer.
! const char *MAP_OBJECT_NAME = "Global\\PythonTraceOutputMapping";
! const char *MUTEX_OBJECT_NAME = "Global\\PythonTraceOutputMutex";
! const char *EVENT_OBJECT_NAME = "Global\\PythonTraceOutputEvent";
! const char *EVENT_EMPTY_OBJECT_NAME = "Global\\PythonTraceOutputEmptyEvent";
// no const because of python api, this is the name of the entry
|