[Python-Dev] Python + Visual C++ 8.0?

"Martin v. Löwis" martin at v.loewis.de
Tue Dec 27 23:20:20 CET 2005


Adal Chiriliuc wrote:
> Python uses LoadLibraryEx with the LOAD_WITH_ALTERED_SEARCH_PATH flag
> which means that DLLs used by the extension will be searched
> IN THE EXTENSION FOLDER and not on PATH.

Can you please refer to the part of the documentation that documents
that PATH is not searched? In

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/dynamic-link_library_search_order.asp

the documentation says that the PATH is searched in step 6.

> It is a little strange that it is not loaded directly from the Windows
> side by side folder (%WINDIR%\WinSxS). You should check if the manifest
> is embedded correctly inside the DLL.

How do you get VS to do that?

Regards,
Martin


More information about the Python-Dev mailing list