Jump to content
  • Advertisement


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

Uffe Hammer

Dialog box problems

This topic is 6923 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 have a peculiar problem, i have recently upgraded to pr3.0 and now my program won't start, it comes up with the error message:
CreateSurface for z-buffer failed.
However the problem does not lie in the zbuffer creation part, but because the device dialog fails to initialize. The DialogBox creation in PR_ChooseDDraw_Driver returns ERROR_RESOURCE_DATA_NOT_FOUND which has this explanation "The specified image file did not contain a resource section." which doesn't make any sense since i have compiled the project with devdlg.c devdlg.rc and devdlg.bmp exactly like the examples (which by the way, compiles and runs without errors).
So any help would be appreciated!

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!