Skip to content

Commit

Permalink
Enhance error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
barnson committed Dec 17, 2023
1 parent 0bf10d9 commit 0638036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/dutil/WixToolset.DUtil/apputil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ DAPI_(HRESULT) LoadSystemLibrary(
if (vpfnSetDefaultDllDirectories) // LOAD_LIBRARY_SEARCH_SYSTEM32 was added at same time as SetDefaultDllDirectories.
{
*phModule = ::LoadLibraryExW(wzModuleName, NULL, LOAD_LIBRARY_SEARCH_SYSTEM32);
AppExitOnNullWithLastError(*phModule, hr, "Failed to get load library with LOAD_LIBRARY_SEARCH_SYSTEM32.");
AppExitOnNullWithLastError(*phModule, hr, "Failed to load library with LOAD_LIBRARY_SEARCH_SYSTEM32: %ls.", wzModuleName);
}
else
{
Expand Down

0 comments on commit 0638036

Please sign in to comment.