SafeArray problem

pixie888 at hotmail.com pixie888 at hotmail.com
Wed Jun 19 06:09:20 EDT 2002


Hi all,

I am using an Automation object which has a method which takes a
SafeArray as an argument. In my Python module I call this method and
give a list of longs as an argument.

While debugging (using the VC++6 IDE) I notice that the type of the
argument (upon entering my automation object) is VT_ERROR (argument
not found, actually). Now, what is really odd is the following: I
extended my method: it takes two arguments, the first being a
SafeArray and the second a long (which will not be used). When I call
this method again from my Python module (with a list of longs and a
dummy long as arguments) then everything works fine.

Beats me, really.

Any idea where the problem lies?

Thanks,

Henk



More information about the Python-list mailing list