Archived

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

Debug Error!!!

This topic is 6557 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

first off try

FAILED(lpdd4->SetDisplayMode(SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_BPP))

instead of

lpdd4->SetDisplayMode(SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_BPP)!=DD_OK

You might have a non-fatal warning, anyway its good practice

Share this post


Link to post
Share on other sites
Why does this create a debug error???:::


if (lpdd4->SetDisplayMode(SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_BPP)!=DD_OK)
MessageBox(main_window_handle, "Unable to set display mode 640x480x16", "Error", MB_OK);

Share this post


Link to post
Share on other sites