Re: [python-win32] Invalid number of parameters on makepy-generated method

2010-10-06 Thread Federico Fanton
Mark Hammond wrote: ["Invalid number of parameters"] Is the exception coming from the InvokeTypes call? Exactly.. I have a new bit of information though: I noticed that the problem arises ONLY when the controlled application (Alibre) is already running, while if it's not, there's no exception..

Re: [python-win32] Invalid number of parameters on makepy-generated method

2010-10-05 Thread Mark Hammond
On 4/10/2010 6:29 PM, Federico Fanton wrote: Tim Roberts wrote: It is mostly working, except for a call to a method that accepts a single optional boolean parameter. When I try to call this method, I get an "Invalid number of parameters" exception. Is the exception coming from the InvokeTypes

Re: [python-win32] Invalid number of parameters on makepy-generated method

2010-10-04 Thread Federico Fanton
Tim Roberts wrote: It is mostly working, except for a call to a method that accepts a single optional boolean parameter. When I try to call this method, I get an "Invalid number of parameters" exception. Is the exception coming from the InvokeTypes call? Exactly.. I have a new bit of informa

Re: [python-win32] Invalid number of parameters on makepy-generated method

2010-10-01 Thread Tim Roberts
Federico Fanton wrote: > Hi everyone! > I'm trying to automate an operation with Alibre Design > (http://www.alibre.com) via COM. > > It is mostly working, except for a call to a method that accepts a > single optional boolean parameter. When I try to call this method, I get > an "Invalid number o

[python-win32] Invalid number of parameters on makepy-generated method

2010-10-01 Thread Federico Fanton
Hi everyone! I'm trying to automate an operation with Alibre Design (http://www.alibre.com) via COM. It is mostly working, except for a call to a method that accepts a single optional boolean parameter. When I try to call this method, I get an "Invalid number of parameters" exception. Here's my

[python-win32] Invalid number of parameters on makepy-generated method

2010-10-01 Thread Federico Fanton
Hi everyone! I'm trying to automate an operation with Alibre Design (http://www.alibre.com) via COM. It is mostly working, except for a call to a method that accepts a single optional boolean parameter. When I try to call this method, I get an "Invalid number of parameters" exception. Here'