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
|