Hi ,
Ia there a function who converts HRESULT value to a string so instread of getting the following output:
I have:
Output:Code:HRESULT hr; hr = MyFunc(); if ( FAILED(hr) ) { Log << "HRESULT=" << hr; }
HRESULT =-2147418113
I'll get:
Desired output:
HRESULT=E_UNEXPECTED (2147418113 )
Many thanks!




Reply With Quote