Re: [ctypes-users] Re: Getting value out of a VARIANT array
by Sumeet Sobti other posts by this author
Feb 13 2006 10:01AM messages near this date
[Fwd: Re: [ctypes-users] Re: Getting value out of a VARIANT array]
|
[ctypes-users] Question from ebay member
Hi Thomas,
I tried using the code snippet you provided to handle
the array of variants, and it seems to work. Thanks!
Is it possible for you to send me a code snippet to
handle the 2-d array case as well? This might be
sufficient for my immediate purposes, however I'll be
anxiously looking forward to the new release.
Thanks!
-Sumeet.
--- Thomas Heller <theller@[...].net> wrote:
> Sumeet Sobti <sumeet_sobti@[...].com> writes:
>
>
>
> > (2) The code also does *not* work when the method
> > returns a two dimensional array.
> >
> > It fails with this error:
> >
> >>>> output_variant.value
> > Traceback (most recent call last):
> > File "<stdin>", line 1, in ?
> > File
> >
>
"c:\Python24\lib\site-packages\ctypes\com\automation.py",
> > line 490, in _get_value
> > assert dim == 1
> > AssertionError
>
> This is not even in comtypes CVS, although I have
> code for it that I
> will check in shortly.
>
> Thomas
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
ctypes-users mailing list
ctypes-users@[...].net
https://lists.sourceforge.net/lists/listinfo/ctypes-users
|