bpo-36085: Add additional load flag to ensure DLL loads successfully by zooba · Pull Request #12633 · python/cpython
# Full path load with DLL_LOAD_DIR should succeed should_pass("WinDLL(nt._getfullpathname('_sqlite3.dll'), " + "winmode=nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR)") "winmode=nt._LOAD_LIBRARY_SEARCH_SYSTEM32|" + "nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR)")
# User-specified directory should succeed should_pass("import os; p = os.add_dll_directory(os.getcwd());" +