[comtypes-users] Using a COMObject from a client more than once

2010-02-10 Thread James Teh
Hi. In our project, we communicate with Microsoft SAPI 4 speech synthesisers using COM. When we want to speak data, we must provide an object which can receive events. (The IConnectionPoint* interfaces are not used.) Following is a rough, very simplified outline of the code: class SynthDriverB

Re: [comtypes-users] Problem calling method

2010-02-10 Thread Pablo Bianucci
Hi Thomas! On Wed, Feb 10, 2010 at 05:42:51PM +0100, Thomas Heller wrote: Thanks for the reply! > Ok, the interface that you have is a pure dispinterface, which means that > all methods of the COM object are eventually called as IDispatch.Invoke() > calls. > > The Invoke() method packs all par

Re: [comtypes-users] Problem calling method

2010-02-10 Thread Thomas Heller
Am 30.01.2010 06:23, schrieb Pablo Bianucci: > Hi! > > I am trying to use an ActiveX control (.OCX, from a piezo electric stage > controller)) from a Python program. I have managed to get the control to work, > but I am having problems calling a method. > > This is the method in question (from th