• Advertisement

Archived

This topic is now archived and is closed to further replies.

Direct Draw Blit error

This topic is 5667 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I do my first Direct Draw engine. I use Blt but it doesn''t work and gives HRESULT 0x88760096, what that meen and where I find Direct Draw special HRESULT values. I use DirectX 6.1 SDK, because I don''t need better.

Share this post


Link to post
Share on other sites
Advertisement
I just typed out a beats of a reply, but then i got a sodding "Internal Server Error" so heres a cut down version:

* Strip off the last 4 digits: 0x0096
* Convert to decimal: 150
* Search for "MAKE_DDHRESULT( 150 )" in "DDraw.h" (notice the space either side of the number).
* You''ll see this line: #define DDERR_INVALIDRECT MAKE_DDHRESULT ( 150 )
So the error is DDERR_INVALIDRECT. You passed an invalid rect to Blt().

HTH, Steve

Steve
DirectX Programmer
Soon to be the new Bill Gates

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
The return value is a direct draw error code, if you look in your DX 6.1 documentation you''ll be able to determine what this means.

Share this post


Link to post
Share on other sites

  • Advertisement