[python-win32] Extending DLL search path?

Larry Bates larry.bates at websafe.com
Wed Oct 1 06:56:37 CEST 2008


Arve Knudsen wrote:
> Hi
> 
> I have a C++ program which embeds Python and is itself modularized
> into several DLLs. The Python part (extensions) of the application
> again links to these DLLs, the problem is the containing catalog (also
> containing the executable itself) is not on the PATH, so the DLLs
> aren't resolved when loading the Python extensions. Is there any smart
> way of extending the DLL search path at runtime?
> 
> Thanks,
> Arve

Take a look at apppath registry entries.

-Larry



More information about the python-win32 mailing list