Direct Draw Blit error

Started by
2 comments, last by Jouni 21 years, 8 months ago
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.
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
Member of the Unban Mindwipe Society (UMWS)
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.
DXErr.exe.

This topic is closed to new replies.

Advertisement