Python & COM
Anand K Rayudu
anand at easi.soft.net
Wed Mar 31 04:22:16 EST 2004
Hi Stefan,
Thanks for the suggestion. From little debug i found out that I am
getting VARIANT of safe array.
How ever I am not getting proper values from the safe array.
Could you please suggest how to implement that
Do you see any problem in the following code.
>
>SAFEARRAY *array=V_ARRAY(a);
>long i,val;
>for(i=0;i<len;i++){
> SafeArrayGetElement(array,&i,&val)
> c_array[i]= val;
>}
>
>I am not getting proper values in C array.
>Any suggestions?
>
>
More information about the Python-list
mailing list