Commit 92e9d98b authored by ussrhero's avatar ussrhero

fixed DiaException description

parent e871af1c
......@@ -135,7 +135,7 @@ std::wstring DiaException::makeFullDesc(const std::wstring &desc, HRESULT hres,
FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM,
NULL,
hres,
LOCALE_INVARIANT, //MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US),
(PWCHAR)&errMessage,
0,
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