Hmm, I did that - oleviewer says [id(0x60020002)] HRESULT ReadVariable( [in] VARIANT bsVar, [out, optional] VARIANT* vValue, [out, optional] VARIANT* tValue, [out, optional] VARIANT* bsRetMsg, [out, retval] VARIANT* pOk);
ipython >>help(fm.ReadVariable) Help on method ReadVariable in module ctypes: ReadVariable(...) method of comtypes.POINTER(IMcbPcm) instance Still I try to figure out how to handle it in python Peter On Saturday, June 21, 2014 6:34:34 PM UTC+2, John Gordon wrote: > In <7b0712bf-68b0-4183-860d-2a39d22b6...@googlegroups.com> > peter.balazo...@emspin.com writes: > > > > > >> print dwt > > > (<comtypes.automation.LP_tagVARIANT object at 0x05A8E1C0>, > > <comtypes.automation.LP_tagVARIANT object at 0x05A8E210>, > > <comtypes.automation.LP_tagVARIANT object at 0x05A8E260>, True) > > > > > > by using print gives me return values. I want to access return data > > > (array)and variable. How can I correctly handle it? > > > > You can use help() and dir() to display more information about an object. > > > > -- > > John Gordon Imagine what it must be like for a real medical doctor to > > gor...@panix.com watch 'House', or a real serial killer to watch 'Dexter'. -- https://mail.python.org/mailman/listinfo/python-list