Is there a way to watch all COM activity on a computer?

Posted by Fake Name on Stack Overflow See other posts from Stack Overflow or by Fake Name
Published on 2010-06-18T07:13:16Z Indexed on 2010/06/18 8:23 UTC
Read the original article Hit count: 391

Filed under:
|
|

I'm trying to deal with a piece of specialized hardware, that presents it's interface as a COM object, using win32com in Python.

However, the documentation for how to actually set up the hardware through the COM object is sparse (it requires a significant amount of initialization), and entirely oriented at using a bunch of pre-built libraries for Visual Studio, which are not accessible through python.

That said, is there any way to watch all local COM activity, so I can sort through the activity logs to try and figure out how the existing demo programs properly initialize the hardware, and replicate the behavior in my python script?

Ideally, there would be something in the vein of wireshark for doing this.

Note: I have very little (read: basically no) experience using COM, as my focus is mostly embedded hardware (and a little python dev on the side). However, I'm stuck with this particular device.

© Stack Overflow or respective owner

Related posts about python

Related posts about visual-studio