[python-win32] Calling unregistered COM libraries via Python

Manowitz, David David.Manowitz at eia.gov
Mon Jan 11 18:04:48 EST 2016


Since I knew the path to the library, I wasn't sure if that was the case, but I guess so.

--David



-------- Original message --------
From: Mark Hammond <skippy.hammond at gmail.com>
Date: 1/11/2016 5:55 PM (GMT-05:00)
To: "Manowitz, David" <David.Manowitz at eia.gov>, "'comtypes-users at lists.sourceforge.net'" <comtypes-users at lists.sourceforge.net>, "'python-win32 at python.org'" <python-win32 at python.org>
Subject: Re: [python-win32] Calling unregistered COM libraries via Python

On 12/01/2016 4:21 AM, Manowitz, David wrote:
> Is it possible, either via the win32com extensions or the comtypes
> package (or some other package), to call to an unregistered COM
> library?  It doesn’t seem so, but I wanted to check.

COM uses the registration info to locate and load the library, so in
general it's not possible. You could always just register it though...

Mark

>
>
>
> Thanks,
>
> David Manowitz
>
> Office of Petroleum, Natural Gas, and Biofuels Analysis
>
> Energy Information Administration <http://www.eia.gov/>
>
> U.S. Department of Energy
>
> 1000 Independence Ave S.W.
>
> Washington, DC 20585
>
> Tel: +1-202-586-2815
>
>
>
>
>
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> https://mail.python.org/mailman/listinfo/python-win32
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20160111/ec4e3812/attachment.html>


More information about the python-win32 mailing list