python com pre-registration

M

Maxim Khesin

I have an activex control I want to examine via python before it is
registered, given only the DLL path.(e.g. I want to get the control's
GUID for finding (via registry) and uninstalling previous version of the
control). Can Python help?
thanks,

max
 
D

Dave Brueck

I have an activex control I want to examine via python before it is
registered, given only the DLL path.(e.g. I want to get the control's
GUID for finding (via registry) and uninstalling previous version of the
control). Can Python help?

Yes. Try ctypes and then do in Python the same calls you'd do in C to get the
GUID.
 
M

Maxim Khesin

Dave said:
Yes. Try ctypes and then do in Python the same calls you'd do in C to get the
GUID.
Thought of that. Was looking for a shortcut ;) (pythoncom.GetFileClass
looked promising, but didn't work)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,172
Messages
2,570,934
Members
47,477
Latest member
ColumbusMa

Latest Threads

Top