[Python-Dev] Python + Visual C++ 8.0? (original) (raw)
Adal Chiriliuc adal.chiriliuc at gmail.com
Tue Dec 27 17:59:08 CET 2005
- Previous message: [Python-Dev] suggestion for smarter garbage collection in function of size (gc.set_collect_mem_growth(2))
- Next message: [Python-Dev] Python + Visual C++ 8.0?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
Try putting msvcp80.dll right next to your extension DLL.
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.
And like Martin said, mixing Python and extensions compiled with different compilers is a bad idea.
- Previous message: [Python-Dev] suggestion for smarter garbage collection in function of size (gc.set_collect_mem_growth(2))
- Next message: [Python-Dev] Python + Visual C++ 8.0?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]