We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21b379e commit 7e4346cCopy full SHA for 7e4346c
Client/launch/Main.cpp
@@ -212,7 +212,8 @@ namespace mta::launcher
212
if (!dll_guard.SetDirectory(mta_path_w.c_str()))
213
return std::unexpected(DllLoadError::LoadFailed);
214
215
- if (HMODULE module = LoadLibraryW(dll_name_w.c_str()))
+ std::wstring full_path_w = std::wstring(mta_path_w.c_str()) + L"\\" + dll_name_w;
216
+ if (HMODULE module = LoadLibraryW(full_path_w.c_str()))
217
return module;
218
219
0 commit comments