Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/coreclr/debug/di/process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,11 @@ STDAPI DLLEXPORT OpenVirtualProcessImpl2(
IUnknown ** ppInstance,
CLR_DEBUGGING_PROCESS_FLAGS* pFlagsOut)
{
#ifdef TARGET_WINDOWS
HMODULE hDac = LoadLibraryExW(pDacModulePath, NULL, LOAD_WITH_ALTERED_SEARCH_PATH);
#else
HMODULE hDac = LoadLibraryW(pDacModulePath);
#endif // !TARGET_WINDOWS
if (hDac == NULL)
{
return HRESULT_FROM_WIN32(GetLastError());
Expand Down