Hi Thomas!
On Mon, 15 Feb 2010, Thomas Heller wrote:
Here is a patch for comtypes that will pass byref(...) or pointer(...)
arguments as VT_BYREF variants. It should workfor Pablos and Michaels
use cases - also it demonstrates how to access the original object
of a byref(..) call:
Yup, it
From: Pablo Bianucci
Now it is as easy (and intuitive, I'd say) as this:
===
tr = c_float()
piezo1.GetMaxTravel(APTPiezoLib.CHAN1_ID, pointer(tr))
===
I'm curious as to any reasons to prefer the above instead of
===
tr = c_float()
piezo1.GetMaxTravel(APTPiezoLib.CHAN1_ID, byref(tr))
===
James Teh schrieb:
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