Re: [python-win32] Fixing type ID for an interface file generated by makepy

2011-01-25 Thread Brad Buran
> This just occurred to me -- I'll bet that is supposed to be a pointer to > an array of floats, isn't it?  Then yes, you have a problem.  That's not > the proper way to pass an array in COM.  In the dispatch mechanism, > you're supposed to pass it as a safe array structure that contains > sizing i

Re: [python-win32] Fixing type ID for an interface file generated by makepy

2011-01-25 Thread Tim Roberts
Tim Roberts wrote: > Brad Buran wrote: >> When I generate the interface file for a COM object using makepy, it >> generates an incorrect signature for one of the methods: >> >> def ReadTag(self, Name=defaultNamedNotOptArg, >> pBuf=defaultNamedNotOptArg, nOS=defaultNamedNotOptArg, >> nWords=defaultN

Re: [python-win32] Fixing type ID for an interface file generated by makepy

2011-01-25 Thread Tim Roberts
Brad Buran wrote: > When I generate the interface file for a COM object using makepy, it > generates an incorrect signature for one of the methods: > > def ReadTag(self, Name=defaultNamedNotOptArg, > pBuf=defaultNamedNotOptArg, nOS=defaultNamedNotOptArg, > nWords=defaultNamedNotOptArg): > retur

Re: [python-win32] odbc under windows 7?

2011-01-25 Thread Vernon Cole
Gary: I was able to track down a Windows 7 - 64 bit computer this morning. Installed Python 3.1 (32 bit) Installed pywin32-214 for py31 (32 bit) Installed adodbapi 2.4 (to get the test.mdb database) I was able to read the data correctly. No Microsoft office components were installed. (I also fo

[python-win32] Problem with win32com and scikits timeseries

2011-01-25 Thread Mauro
Hello, I get the following error when importing Date from scikits.timeseries. The error is there only when I interface python with Excel using COM. It is enough to import anything from scikits.timeseries to get the error. Any help? I am using Python2.7 and scikits.timeseries-0.91.3 in _Invoke_