
27 Jun
2013
27 Jun
'13
1:09 p.m.
I'd like to always get English error messages on Win7 with localized UI. As far as I can see, system_error_category::message() calls FormatMessageA passing it MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT). I tried to set locale, but it doesn't affect FormatMessageA for some reason. I'd appreciate any idea.