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

2006-02-09 Thread Dan Glassman
Dan Glassman wrote: > I don't want to post such long code, so I'm hosting it. If the links > don't work for any interested party, please just email me and I'll get > you a copy. I'm quite enjoying this learning experience and am open to > all suggestions. > > Test file: > http://www.originalr

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 >> { >>PythonOleArgHelp

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 > accepte