win32com and Safearray with a bound of 1

Sean Moore smm at ibl.bm
Wed Dec 11 21:41:09 EST 2002


I am trying to connect to an OCX written for VB.

I have run makepy and can instantiate and communicate
with the object, but it wants some of the data in arrays
that have a lower bound of 1 (vb) not 0 (python/c). 

It appears that the type conversion is creating arrays
with a base of zero.  Any ideas other than the obvious 
wrapper in VB?

Sean



More information about the Python-list mailing list