mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-12-04 03:16:41 -08:00
Compare commits
4
Commits
26-10-03
...
cf5d87d4d5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cf5d87d4d5 | ||
|
|
175245333d | ||
|
|
9c8f7f551d | ||
|
|
0684872013 |
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: Bug report
|
name: Bug report (NOT for troubleshooting or asking for help)
|
||||||
about: Create a report to help us improve
|
about: 'File a bug in spice2x'
|
||||||
title: ''
|
title: ''
|
||||||
labels: bug
|
labels: bug
|
||||||
assignees: ''
|
assignees: ''
|
||||||
|
|||||||
@@ -404,13 +404,11 @@ void libutils::print_dll_info(std::filesystem::path filename) {
|
|||||||
const auto size = GetFileVersionInfoSizeW(filename.wstring().c_str(), &handle);
|
const auto size = GetFileVersionInfoSizeW(filename.wstring().c_str(), &handle);
|
||||||
if (size == 0) {
|
if (size == 0) {
|
||||||
const auto error = GetLastError();
|
const auto error = GetLastError();
|
||||||
const auto error_message = get_last_error_string();
|
|
||||||
log_misc(
|
log_misc(
|
||||||
"libutils",
|
"libutils",
|
||||||
"GetFileVersionInfoSizeW failed for {}: {} (Win32 error {}); "
|
"GetFileVersionInfoSizeW failed for {}: Win32 error {}; "
|
||||||
"DLL may have no version resource",
|
"DLL may have no version resource",
|
||||||
filename,
|
filename,
|
||||||
error_message,
|
|
||||||
error);
|
error);
|
||||||
print_summary();
|
print_summary();
|
||||||
return;
|
return;
|
||||||
@@ -419,12 +417,10 @@ void libutils::print_dll_info(std::filesystem::path filename) {
|
|||||||
auto data = util::make_unique_plain<VOID>(size);
|
auto data = util::make_unique_plain<VOID>(size);
|
||||||
if (!GetFileVersionInfoW(filename.wstring().c_str(), handle, size, data.get())) {
|
if (!GetFileVersionInfoW(filename.wstring().c_str(), handle, size, data.get())) {
|
||||||
const auto error = GetLastError();
|
const auto error = GetLastError();
|
||||||
const auto error_message = get_last_error_string();
|
|
||||||
log_misc(
|
log_misc(
|
||||||
"libutils",
|
"libutils",
|
||||||
"GetFileVersionInfoW failed for {}: {} (Win32 error {})",
|
"GetFileVersionInfoW failed for {}: Win32 error {}",
|
||||||
filename,
|
filename,
|
||||||
error_message,
|
|
||||||
error);
|
error);
|
||||||
print_summary();
|
print_summary();
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in new issue
Block a user