Bugs item #1941211, was opened at 2008-04-12 23:03
Message generated for change (Comment added) made by sf-robot
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: Closed
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: SourceForge Robot (sf-robot)
Date: 2008-05-18 19:20
Message:
Logged In: YES
user_id=1312539
Originator: NO
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
----------------------------------------------------------------------
Comment By: Mark Hammond (mhammond)
Date: 2008-05-04 04: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
|