kevin patterson ibebrs137gmailcom sorry many posting chance someone curious looks theres two issues ive found far generated py files dont guid record least relased 210 generated py file would need guid teststruct1 reason puts 0000 instead actual guid even manual fix win32comclientrecord call still failed pythoncomgetrecordfromguids actually returned record test harness wooohoo bad news cant figure get record guid present one need ole use visual c browser see guid struct defined guid guid struc ironic huh battle trying find way get record without guid soin essenceback square one im starting think would easiest make dumb com server able define struct im ears better ideas fri mar 14 2008 636 pm kevin patterson wrote sorry many posting chance someone curious looks theres two issues ive found far fri mar 14 2008 244 pm kevin patterson wrote anyone working example excel outlook etc try win32comclientrecord function tried pythoncom test harness also luck import win32comclient myarray win32comclientdispatchex f1a5187324e947edae71925462c5fe3b myrecord win32comclientrecordtagteststruct1myarray record creation fails following exception traceback recent call last file line 1 file cpython25libsitepackageswin32comclient__init__py line 405 record return pythoncomgetrecordfromguidsmoduleclsid modulemajorversion modul eminorversion modulelcid struct_guid pywintypescom_error 2147024809 parameter incorrect none none refrence help looks like major difference using dispatch vs dispatchex recordname object creates new record object given name record object type library example usage documentation app win32comclientdispatchsomeapplication point win32comclientrecordsomeapppoint app pointx 0 pointy 0 appmovetopoint thu mar 13 2008 1102 pm kevin patterson wrote ok digging looks like ole automation typelib guid record defined see using python object browser however generate py file ole automation type library dont see guid recordmap reference guid recordis suppose something generated file maybe working actually create one records tue mar 11 2008 1004 pm kevin patterson wrote found comtypes equivalent helps generated comtypes file looks like commethoddispid1610743812 helpstringugetinterface method hresult getinterface pointerguid riid retval pointerpointeriunknown ppunknown im able use comtypesguidguid structure pass information com unfortunately still cant find win32com equivalent passing structure com win32com generated py file saying expects vt_record maybe really expecting pointer vt_pointer tried modify win32com generated file take vt_ptr didnt seem help really dont want redo infastructure comtypes anyone knows win32com equivalent would awesome meantime ill keep digging post find tue mar 11 2008 1258 pm kevin patterson ibebrs137gmailcom wrote old thread got little data function function actually refiid first parameter apparently standard structure c com code im entirely sure win32com changes refiid vt_record following definition functions help idl file hresult getinterface refiid riid retval iid_isriid iunknown ppunknown hresult getinterface guid pguid retval iid_ispguid iunknown ppunknown mon feb 4 2008 644 pm mark hammond nkpmuffqskippinetcomau wrote guid win32comclientrecordguid some_ob dont some_obj allows build guid object typelib almost certainly whatever object intend passing record vbnet gettype c __uuid already know guid record c doesnt know com record com record something quite different cc struct net types com record specifically designed crosslanguage seems python clsid thing dont know call get clsid com_record type ive explained looking com record definition trying use c struct definition guid looking looking com record definition guid see simply copied c struct found useful context clarify typelib find struct definition trying use finding struct definition name somewhere else suitable understanding win32comclientrecord call correctly needs guid defined com right defined com defined using com author typelib must defined somewhere odd bc giud pythons clsid com definitions type vt_record type im understanding convert yes im afraid confused existing guid clsid definitions find useless 1 relevant defined typelib think confusion need find basic docs object get back square 1 mark wed 06 aug 2008 043042 0400 pythonwin32 create com_record