Jump to content

  • Log In with Google      Sign In   
  • Create Account


Debug Error!!!


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 ZomeonE   Members   -  Reputation: 122

Like
Likes
Like

Posted 30 December 1999 - 01:23 PM

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);


Sponsor:

#2 ZomeonE   Members   -  Reputation: 122

Like
Likes
Like

Posted 30 December 1999 - 03:24 AM

Debug error:

The value of ESP was not properly saved across a function call.


#3 logistix   Members   -  Reputation: 122

Like
Likes
Like

Posted 30 December 1999 - 01:23 PM

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





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS