Re: [python-win32] help passing a buffer to an ActiveX object via win32com

2009-08-09 Thread Orest Kozyar
> > > The C prototype is > > /long ReadTag(LPCTSTR name, float* pBuf, long nOS, long nWords);/ > > That's not really the COM-approved way to declare that. Note the > signature: > > > Using MakePy, the signature is > > /def ReadTag(self, Name=defaultNamedNotOptArg, > > pBuf=defaultNamedNotOptArg, n

Re: [python-win32] help passing a buffer to an ActiveX object via win32com

2009-08-07 Thread Tim Roberts
Orest Kozyar wrote: > I'm trying to use an ActiveX object to read data from hardware. > Certain methods do not appear to work, specifically ones that expect a > pointer to an array of 32-bit floats as one of the variables. One > method is /ReadTag/. > > The C prototype is > /long ReadTag(LPCTSTR