Re: [python-win32] Problem passing a VARIANT argument to a methodof aCOM object

2006-02-09 Thread Mark Hammond
> I tried ctypes. AddTest *does* seem to work with > ctypes. > > The rest of my application is written using win32com. > Is it possible to use both win32com-dispatched COM > objects and ctype-com-created COM objects in the same > application, and have them interact with each other > safely and corr

Re: [python-win32] Problem passing a VARIANT argument to a methodof aCOM object

2006-02-09 Thread Sumeet Sobti
--- Mark Hammond <[EMAIL PROTECTED]> wrote: > > STDMETHODIMP CTTOrderSelector::AddTest(LPCSTR > > lpProperty, VARIANT vValue) > > > > LPCSTR is not a valid COM type, but somehow it is > > correctly handled in C#. The authors claim that > their > > C# client code has been tested and is known to >

Re: [python-win32] Problem passing a VARIANT argument to a methodof aCOM object

2006-02-07 Thread Mark Hammond
> STDMETHODIMP CTTOrderSelector::AddTest(LPCSTR > lpProperty, VARIANT vValue) > > LPCSTR is not a valid COM type, but somehow it is > correctly handled in C#. The authors claim that their > C# client code has been tested and is known to work > correctly. I assume that the C# implementation is usin