hi! how do you output the value of a HRESULT?
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
http://www.positech.co.uk
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.,
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!
[ 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
Popular Topics
Advertisement