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 works! Now it is as easy (and intuitive, I'd say) as this: === tr = c_float() piezo1.GetMaxTravel(APTPiezoLib.CHAN1_ID, pointer(tr)) === Great! Thanks again! Bye & Good Luck! Pablo B. ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ comtypes-users mailing list comtypes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/comtypes-users