ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-win32
python-win32
Re: [python-win32] Extending Vista/Windows7 with Python
by Stormy other posts by this author
Nov 6 2009 8:32PM messages near this date
Re: [python-win32] Extending Vista/Windows7 with Python | [python-win32] Fwd: win32 errata: AddSourceToRegistry
Ok, I have in fact managed to provide incorrect data based on my 
meddling with the source.
Furthermore, the patch I offered for the 64-bit make_method was also 
broken, I have attached the corrected version.

To the problem at hand:
The return type expected is PROPVARIANT, however when I return (a string 
in this case) I receive trace about VT_RECORD
VT_RECORD = 36 (0x24)

How would I proceed?

#############

__init__
Initialize
GetValue: {4DFCB999-F66E-45E1-82D0-9B27FAB443A1}100
pythoncom error: Failed to call the universal dispatcher

Traceback (most recent call last):
  File "C:\Python26-64\lib\site-packages\win32com\universal.py", line 
193, in dispatch
    WriteFromOutTuple(retVal, meth._gw_out_args, argPtr)
TypeError: The VARIANT type is unknown (0x24).
pythoncom error: Unexpected gateway error

Traceback (most recent call last):
  File "C:\Python26-64\lib\site-packages\win32com\universal.py", line 
193, in dispatch
    WriteFromOutTuple(retVal, meth._gw_out_args, argPtr)
TypeError: The VARIANT type is unknown (0x24).
__del__

#############
Thread:
Stormy
Tim Roberts
Stormy
Stormy

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved