Saturday, 15 August 2015

c++ - Cryptic HRESULT errors -



c++ - Cryptic HRESULT errors -

the next enddraw() function returns hresult error code: http://msdn.microsoft.com/en-us/library/windows/desktop/dd371924%28v=vs.85%29.aspx

the documentation specifies:

if method succeeds, returns s_ok. otherwise, returns hresult error code , sets tag1 , tag2 tags active when error occurred.

...and returns hresult indicating success of operations...

i getting homecoming value of -2003238911 (0x88990001) doesn't appear on microsoft's "common hresult values" page: http://msdn.microsoft.com/en-us/library/windows/desktop/aa378137%28v=vs.85%29.aspx

i have searched error code in winerror.h can't find there either. if returns code, there must way find out means.

how interpret error code find out went wrong?

you utilize google, on top result hex code has this:

d2derr_wrong_state 0x88990001 object not in right state process method.

http://msdn.microsoft.com/en-us/library/windows/desktop/dd370979(v=vs.85).aspx

i don't know first thing graphics programming or windows programming, think answers question, combined docs stating tag values given referring point error occurred.

c++ windows directx hresult

No comments:

Post a Comment