Commit 92e9d98b authored by ussrhero's avatar ussrhero
Browse files

fixed DiaException description

parent e871af1c
...@@ -135,7 +135,7 @@ std::wstring DiaException::makeFullDesc(const std::wstring &desc, HRESULT hres, ...@@ -135,7 +135,7 @@ std::wstring DiaException::makeFullDesc(const std::wstring &desc, HRESULT hres,
FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM,
NULL, NULL,
hres, hres,
LOCALE_INVARIANT, //MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US),
(PWCHAR)&errMessage, (PWCHAR)&errMessage,
0, 0,
NULL); NULL);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment