-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve error reporting for UniversalReloc class (#163)
* Improve error reporting for UniversalReloc class * Change "GetModuleHandleEx" to "GetModuleHandleExW" * Add "L" for the null terminator * Fix "GetCurrentModuleHandle" I have no clue how I removed the negation * Add plugin version to the error message * Update the generic error message to include a tinyurl to the wiki * Fix the format * Remove std::call_once and extract lambdas to their own funcs * Address for PR comments * Use std::bit_cast + remove const return * Add more static constexprs for messages * Add more lines when delimiting the messages * Replace more `reinterpret_cast`s with `bit_cast`s * Address PR comments * Use the plugin name instead of the msgbox title
- Loading branch information
Showing
4 changed files
with
236 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters