Bugs item #1941211, was opened at 2008-04-13 16:03
Message generated for change (Comment added) made by mhammond
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: Pending
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
----------------------------------------------------------------------
>Comment By: Mark Hammond (mhammond)
Date: 2008-05-04 21:08
Message:
Logged In: YES
user_id=14198
Originator: NO
I'm sorry, but there isn't enough info here for me to repro the problem.
Note that there are VB6 tests, so you probably need to modify them to
demonstrate the problem before I will be able to take any action.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1941211&group_id=78018
|