Re: [python-win32] Explicit variant types for Invoke InvokeTypes (WasRe: Autocad.*)

2006-02-08 Thread Dan Glassman
Mark Hammond wrote: if ( PySequence_Check(obuse) ) { V_ARRAY(var) = NULL; // not a valid, existing array. ok = PyCom_SAFEARRAYFromPyObject(obuse, V_ARRAY(var), rawVT); V_VT(var) = VT_ARRAY | rawVT; } else { PythonOleArgHelper helper;

Re: [python-win32] Explicit variant types for Invoke InvokeTypes (WasRe: Autocad.*)

2006-02-06 Thread Mark Hammond
I must admit I don't know how to fully test my implementation. I also have at least one bug related to strings, which the test below will demonstrate. I am soliciting any help I can get to solve the general case. Or, failing that, I'm wondering if a less-general patch would be accepted