[python-win32] win32com- Type mismatch on a string... Possiblehash key collision?
Reedick, Andrew
jr9445 at ATT.COM
Thu Jan 3 19:26:10 CET 2008
> -----Original Message-----
> From: python-win32-bounces at python.org [mailto:python-win32-
> bounces at python.org] On Behalf Of Reedick, Andrew
> Sent: Thursday, January 03, 2008 10:09 AM
> To: Tim Roberts; Python-Win32 List
> Subject: Re: [python-win32] win32com- Type mismatch on a string...
> Possiblehash key collision?
>
Problem "solved." After mucking with makepy.py, it looks like
Fields("table") was replaced with GetFields("table") and Fields is an
IList. No idea if Python did this, if the Quality Center COM
Documentation is wrong or out of date, and/or if Perl's COM is accurate
or just magically does the right thing. *twitch*
# Result is of type IList
# The method GetFields is actually a property, but must be used
as a method to correctly pass the arguments
def GetFields(self, TableName=''):
"""A list of all fields in the specified table."""
return self._ApplyTypes_(2, 2, (9, 32), ((8, 49),),
'GetFields', '{F73CCC7B-05FA-4FD7-8FAA-B53DFFFE22DC}',TableName
)
_prop_map_get_ = {
# Method 'Fields' returns object of type 'IList'
"Fields": (2, 2, (9, 32), ((8, 49),), "Fields",
'{F73CCC7B-05FA-4FD7-8FAA-B53DFFFE22DC}'),
}
_prop_map_put_ = {
}
*****
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA621
More information about the python-win32
mailing list