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

Uffe Hammer

Dialog box problems

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