Skip to content Skip to sidebar Skip to footer

Only Partial Access To A Com Type Library Through Python

I am attempting to write some scripts to employ a COM type library that came with an application to control it externally. However, I am stuck in my use of the Python libraries for

Solution 1:

Only CoClass interfaces can be created directly using Dispatch. The other interfaces are usually created by drilling down through the properties and methods of the top-level objects. If you run makepy on your typelib, the generated wrapper file will have the CoClass's marked with a comment.


Post a Comment for "Only Partial Access To A Com Type Library Through Python"