Advertisement

hi! how do you output the value of a HRESULT?

Started by March 17, 2002 06:55 AM
3 comments, last by mickey 22 years, 9 months ago
i don''t know how to decode the HRESULT, ie, convert it to something(ie,string) to put it on a file or probably display it on the screen, thanks!
http://www.dualforcesolutions.comProfessional website designs and development, customized business systems, etc.,
if its a direct3d error you can use a D3DX function called GetErrorString() look up the D3DX functions in the SDK help

http://www.positech.co.uk
Advertisement
hi thanks! i''ve already used that and i think you can use it in all of dx apis,
http://www.dualforcesolutions.comProfessional website designs and development, customized business systems, etc.,
This could be usefull for my logging system
Also see FormatMessage for generic Win32 errors. I don''t recall whether DXErr handles those.

[ GDNet Start Here | GDNet Search Tool | GDNet FAQ | MS RTFM [MSDN] | SGI STL Docs | Google! ]
Thanks to Kylotan for the idea!

This topic is closed to new replies.

Advertisement