Update of /cvsroot/pywin32/pywin32/com/win32com/src
In directory sc8-pr-cvs1:/tmp/cvs-serv27904
Modified Files:
PyFactory.cpp
Log Message:
Policy failure calls PyCom_LogError(), which reports a traceback.
Index: PyFactory.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/src/PyFactory.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** PyFactory.cpp 27 Sep 2002 04:58:34 -0000 1.4
--- PyFactory.cpp 1 Sep 2003 08:08:09 -0000 1.5
***************
*** 14,20 ****
static LONG factoryRefCount = 0;
- extern void PyCom_LogF(const TCHAR *fmt, ...);
- #define LogF PyCom_LogF
-
CPyFactory::CPyFactory(REFCLSID guidClassID) :
m_guidClassID(guidClassID),
--- 14,17 ----
***************
*** 165,169 ****
if ( !pPyModule )
{
! LogF(_T("PythonCOM Server - The policy module could not be loaded."));
/* ### propagate the exception? */
PyErr_Clear();
--- 162,166 ----
if ( !pPyModule )
{
! PyCom_LogError("PythonCOM Server - The 'win32com.server.policy' module could not be loaded.");
/* ### propagate the exception? */
PyErr_Clear();
|