Update of /cvsroot/pywin32/pywin32/com/win32com/src/include
In directory sc8-pr-cvs1:/tmp/cvs-serv8434/include
Modified Files:
PythonCOM.h
Log Message:
New function PyCom_SetAndLogCOMErrorFromPyExceptio(), so gateway errors
can better be seen.
Index: PythonCOM.h
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/src/include/PythonCOM.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** PythonCOM.h 2 Nov 2003 09:55:27 -0000 1.17
--- PythonCOM.h 24 Nov 2003 09:14:53 -0000 1.18
***************
*** 306,309 ****
--- 306,312 ----
// information about the Python exception.
+ // Set a COM exception, logging the exception if not an explicitly raised 'server' exception
+ PYCOM_EXPORT HRESULT PyCom_SetAndLogCOMErrorFromPyException(const char *methodName, REFIID riid /* = IID_NULL */);
+
// Used in gateways to SetErrorInfo() with a simple HRESULT, then return it.
// The description is generally only useful for debugging purposes,
|