[python-win32] win32com calling C++ COM interface

2005-10-19 Thread Shad Muegge
Hi,   I've just started looking at Python.  I am trying to resolve an issue a user is having trying to access the COM interface in our application from Python.   C++ code:   STDMETHODIMP    CMyClass::Read(  const int   x,   VARIANT  *indexlist,  // IN:  "safe" array of  4-byte integ

Re: [python-win32] win32com calling C++ COM interface

2005-10-19 Thread Shad Muegge
Sorry, the interface is expecting a safearray of 4-byte integers, instead it's getting a safearray of 1-byte integers. On 10/19/05, bob < [EMAIL PROTECTED]> wrote:At 01:22 PM 10/19/2005, Shad Muegge wrote:>Hi, >>I've just started looking at Python.  I am trying to resolve

Re: [python-win32] win32com calling C++ COM interface

2005-10-24 Thread Shad Muegge
er objects are converted to safe arrays of bytes. I removed that line and code. After these two changes the code worked.  On 10/19/05, bob <[EMAIL PROTECTED]> wrote: At 01:22 PM 10/19/2005, Shad Muegge wrote:>Hi,>>I've just started looking at Python.  I am trying to resolve an