Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.
Open
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
2 changes: 1 addition & 1 deletion src/dynamic_load_windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class DynamicLibraryHandleWindows : public DynamicLibraryHandle {

expected<DynamicTracingLibraryHandle> DynamicallyLoadTracingLibrary(
const char* shared_library, std::string& error_message) noexcept try {
const auto handle = LoadLibrary(shared_library);
const auto handle = LoadLibraryA(shared_library);
if (handle == nullptr) {
error_message = "An error occurred: " + GetLastErrorAsString();
return make_unexpected(dynamic_load_failure_error);
Expand Down