Update of /cvsroot/pywin32/pywin32/com/win32com/server
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12868
Modified Files:
policy.py
Log Message:
Correct an error in the new IDispatch typelib provider support.
Index: policy.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/server/policy.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** policy.py 7 Sep 2004 02:15:07 -0000 1.18
--- policy.py 10 Oct 2004 23:06:08 -0000 1.19
***************
*** 530,534 ****
return []
tlb_major, tlb_minor = getattr(self._obj_, '_typelib_version_', (1,0))
! tlb = pythoncom.LoadRegTypeLib(tlb_guid, tlb_major, tlb_minor, lcid)
typecomp = tlb.GetTypeComp()
# Not 100% sure what semantics we should use for the default interface.
--- 530,534 ----
return []
tlb_major, tlb_minor = getattr(self._obj_, '_typelib_version_', (1,0))
! tlb = pythoncom.LoadRegTypeLib(tlb_guid, tlb_major, tlb_minor)
typecomp = tlb.GetTypeComp()
# Not 100% sure what semantics we should use for the default interface.
|