From 2f3bb7f2f27e176a07ef122868193cc3380c52e2 Mon Sep 17 00:00:00 2001 From: void Date: Thu, 13 Aug 2009 17:34:15 +0200 Subject: [PATCH] Added more verbose output for the GetVersionEx problem of TOD --- craw/arguments.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/craw/arguments.cpp b/craw/arguments.cpp index d79f363..e6c2330 100644 --- a/craw/arguments.cpp +++ b/craw/arguments.cpp @@ -53,6 +53,13 @@ bool install_command_line_patch(string_vector const & parsed_arguments) last_error("GetVersionEx failed"); return false; } + if(verbose) + { + write_line("GetVersionEx information for this operating system:"); + write_line("dwMajorVersion: " + ail::hex_string_32(version.dwMajorVersion)); + write_line("dwMinorVersion: " + ail::hex_string_32(version.dwMinorVersion)); + write_line("wProductType: " + ail::hex_string_16(version.wProductType)); + } std::string kernel; if(version.dwMajorVersion == 6 && version.dwMinorVersion == 1 && version.wProductType == VER_NT_WORKSTATION) { -- 2.11.4.GIT