[pywin32-bugs] [ pywin32-Bugs-3566266 ] Python Object Browser - Unable to view ActiveX CoClass
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
|
From: SourceForge.net <no...@so...> - 2012-09-10 10:41:08
|
Bugs item #3566266, was opened at 2012-09-10 03:41 Message generated for change (Tracker Item Submitted) made by omega_weapon You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3566266&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Omega Weapon (omega_weapon) Assigned to: Nobody/Anonymous (nobody) Summary: Python Object Browser - Unable to view ActiveX CoClass Initial Comment: Full title: Python Object Browser - Unable to view ActiveX CoClass type library information I am currently looking into the possiblity of using Python to control some VB6 ActiveX objects used at work. In order to see what COM objects were accessible, I used the combrowse script - however any attempts to browse the CoClass directory of the objects (as compared to the Dispatch directory) fail with the following error: ======================================================== (null) Traceback (most recent call last): File "C:\Python27\lib\site-packages\Pythonwin\pywin\tools\hierlist.py", line 39, in OnTreeItemExpanding self.AddSubList(itemHandle, self.GetSubList(item)) File "C:\Python27\lib\site-packages\Pythonwin\pywin\tools\hierlist.py", line 86, in GetSubList return self.DelegateCall(item.GetSubList) File "C:\Python27\lib\site-packages\Pythonwin\pywin\tools\hierlist.py", line 73, in DelegateCall return fn() File "C:\Python27\Lib\site-packages\win32com\client\combrowse.py", line 239, n GetSubList refType = typeinfo.GetRefTypeInfo(typeinfo.GetRefTypeOfImplType(j)) pywintypes.com_error: (-2147312566, 'Error loading type library/DLL.', None, No e) ======================================================== This is after running the makepy script for the object. The objects are usable from Microsoft Visual basic 6 Studio (etc) - are there further steps needed to get them useable here? Unfortunately I have no experience with this detail as it basically Just Works with normal VB6 development. Thanks ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3566266&group_id=78018 |