Original Post
Hey all, I've read multiple posts about HRESULT returns for error checking. And I've done pretty much all of it. I'm still only getting an integer value for my return value. I put this in my watch: --> hres,hr -2005530516 HRESULT As you can see, i'm still getting the numerical value instead of a string. Is there a list of all the return values as an enum or something I can put in a swtich statement, and just return a string myself? (A list for all Direct3D functions). I have one for DirectDraw functions, which serves no purpose for me :) Thanks, would appreciate some help on this one. -Mario (Edit): hres = m_pD3DSprite->Draw(m_SpriteList.d3dTexture, NULL, ¢erPos, &screenPos, ALPHA(a)); if(FAILED(hres)) { MessageBox(NULL, "Failed to draw bitmap using DrawBMP() function", "D3DError", MB_OK); return E_FAIL; } I'm currently doing things such as this. And getting the numerical value for hresult, declared earlier in this post.