python com pre-registration

Maxim Khesin max at cNvOiSsiPoAnMtech.com
Mon Dec 15 23:15:44 CET 2003


Dave Brueck wrote:

>>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.
> 
> 
Thought of that. Was looking for a shortcut ;) (pythoncom.GetFileClass 
looked promising, but didn't work)




More information about the Python-list mailing list