https://bugs.winehq.org/show_bug.cgi?id=51821 --- Comment #7 from algebro(a)tuta.io --- Per @gofman's suggestion, I added a test in dlls/kernel32/tests/path.c that simply calls LdrGetDllPath() with LOAD_WITH_ALTERED_SEARCH_PATH and prints the value: ret = pLdrGetDllPath( buffer, LOAD_WITH_ALTERED_SEARCH_PATH, &path, &unknown_ptr ); ok( ret != 0, "algebro Test: Path: %s\n", wine_dbgstr_w(path)); When running on Windows, the current directory is added to the PATH: Path: L"C:\\Users\\algebro\\Documents;C:\\WINDOWS\\SYSTEM32;C:\\WINDOWS\\system;C:\\WINDOWS;." When running on Wine, it is not added: Path: L"C:\\windows\\system32;C:\\windows\\system;C:\\windows;." So this appears to be a bug specifically in LdrGetDllPath() with LOAD_WITH_ALTERED_SEARCH_PATH, where wine doesn't behave like windows. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.