XP problem

Started by
1 comment, last by RaistlinLives 20 years, 3 months ago
I''ve recently changed from windows 98 to XP only to find that the project I was working on no longer runs correctly. Both computers run at 1024x768(think that''s right), and the program runs at 800x600. For some strange reason, in XP the program doesn''t change to 800x600 and stays at the desktop resolution, leaving about 1/3 of the screen(right and bottom) unused. I''m changing the res. in DirectDraw with this: lpdd->SetDisplayMode(800, 600, 24, 0, 0); Is there any reason why this wouldn''t work, or is the problem elsewhere?
Advertisement
Are you checking its return value? Also, try 32bpp and see what happens.

I like pie.
[sub]My spoon is too big.[/sub]
I''m ashamed to say I never thought of the bpp as a possible source for the error. However, after reading your post, I made the change and it did the trick.

Thanks!

This topic is closed to new replies.

Advertisement