jose simas zeacidsvogmailcom hi porting parts large vb application python using 25 ui must stay vb moment using model view presenter models presenters python view vb trouble passing vb views python presenters views usercontrols implement interface iviewdataview example defined externally type library resultsinterfaces example interface defines methods presenter call view vb code dim presenterinpython object set presenterinpython createobjectvbtopythonmytest presenterinpythoninit vbusercontrolobject python code class mytest _public_methods_ init _reg_progid_ vbtopythonmytest _reg_clsid_ aaaaa6490af940cfa51b4bb10dd33074 def initself view import comtypes res_id comtypesguid417081f1179e4856b99603043260ab81 import comtypesclient cc ccgetmoduleres_id 1 0 import comtypesgenresultsinterfaces resint internalview viewqueryinterfaceresintiviewdataview point throws error full error end strings iids converted clsid could anyone shed light missing would also appreciate someone could point direction similar example demo cheers jose error pythonwin trace collector object win32trace dispatcher created objectnone _queryinterface_ unsupported iid ipersiststreaminit 7fd523804e07101bae2d08002b2ec713 _queryinterface_ unsupported iid ipersistpropertybag 37d84f6042cb11ce813500aa004bb851 _getidsofnames_ init 1033 _invoke_ 1000 1033 1 traceback recent call last file cpython25libsitepackageswin32comserverdispatcherpy line 47 _invoke_ return selfpolicy_invoke_dispid lcid wflags args file cpython25libsitepackageswin32comserverpolicypy line 285 _invoke_ return self_invoke_dispid lcid wflags args file cpython25libsitepackageswin32comserverpolicypy line 290 _invoke_ return s_ok 1 self_invokeex_dispid lcid wflags args none none file cpython25libsitepackageswin32comserverpolicypy line 593 _invokeex_ return funcargs file c_svngxpbranchesv5coresrccomtestpy line 37 init viewqueryinterfaceresintiviewdataview typeerror strings iids converted clsid pythoncom error python error invoking com method traceback recent call last file cpython25libsitepackageswin32comserverdispatcherpy line 163 _invoke_ return dispatcherbase_invoke_self dispid lcid wflags args file cpython25libsitepackageswin32comserverdispatcherpy line 49 _invoke_ return self_handleexception_ file cpython25libsitepackageswin32comserverdispatcherpy line 129 _handleexception_ reraise file cpython25libsitepackageswin32comserverdispatcherpy line 47 _invoke_ return selfpolicy_invoke_dispid lcid wflags args file cpython25libsitepackageswin32comserverpolicypy line 285 _invoke_ return self_invoke_dispid lcid wflags args file cpython25libsitepackageswin32comserverpolicypy line 290 _invoke_ return s_ok 1 self_invokeex_dispid lcid wflags args none none file cpython25libsitepackageswin32comserverpolicypy line 593 _invokeex_ return funcargs file c_svngxpbranchesv5coresrccomtestpy line 37 init viewqueryinterfaceresintiviewdataview strings iids converted clsid _______________________________________________ pythonwin32 mailing list kpitckaew45pythonorg httpmailpythonorgmailmanlistinfopythonwin32 fri 08 aug 2008 021152 0100 pythonwin32 queryinterface fails object passed vb