Fix LOG_SYSRESULT
result is expected to be GetLastError() or WSAGetLastError(), so we have to convert it to HRESULT by HRESULT_FROM_WIN32 for FAILED() macro. Use FormatMesssageA (ANSI version). since glog may not work with Unicode string. Contributed by ukai@ git-svn-id: https://google-glog.googlecode.com/svn/trunk@113 eb4d4688-79bd-11dd-afb4-1d65580434c0
Showing
Please
register
or
sign in
to comment