Bugs item #1941211, was opened at 2008-04-12 23:03
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1941211&group_id=78018
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alex Omoto (moto23)
Assigned to: Nobody/Anonymous (nobody)
Summary: VB structure error - "Old format or invalid type library"
Initial Comment:
Hi,
I have the following VB and python code to test VB structures:
VB - ClassLibrary1:
Public Structure test
Public var1 As Integer
Public var2 As Double
Public var3 As String
End Structure
Public Class Class1
End Class
Python:
import win32com.client
a = win32com.client.Dispatch('ClassLibrary1.Class1')
b = win32com.client.Record('test', a)
When var3 is a string, I get the error shown below. I have no problems when var3 is int or double. I'm using ActiveState Python 2.4.5.14.
pywintypes.com_error: (-2147319783, 'Old format or invalid type library.', None, None)
Thanks,
Alex
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1941211&group_id=78018
|