Thomas Heller <[EMAIL PROTECTED]> writes:
> 
> No, that's not possible (at least not easily, if at all).  There is no
> general way to find the type library belonging to a COM object.

Too bad. I searched the web after posting this and came to the same conclusion.

>   import comtypes.client
>   comtypes.client.GetModule(("{00020905-0000-0000-C000-000000000046}", 8, 0,
1033))
>   import comtypes.gen.Word
> 
> The magic numbers used in the call to GetModule are from the comtypes.gen.Word
file,

Thanks for the tip. I shall keep searching and try to submit a patch if I can.

Regards,
Suraj


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
comtypes-users mailing list
comtypes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/comtypes-users

Reply via email to