Not logged in, Join Here! or Log In Below:  
News Articles Search    

 Home / General Programming / Changing Resolution with win32 api Account Manager
Archive Notice: This thread is old and no longer active. It is here for reference purposes. This thread was created on an older version of the flipcode forums, before the site closed in 2005. Please keep that in mind as you view this thread, as many of the topics and opinions may be outdated.
Effin Goose

September 30, 1999, 01:34 AM


I've been using the win api function call ChangeDisplaySettings() to change my screen resolution so i can do some full screen stuff (using msvc 5). When i use it with the debug configureation active it works fine. But when I set the active configuration to release, ti comes back at me with DISP_CHANGE_BADMODE. Anyone have any ideas why?



September 30, 1999, 10:57 AM

Change your release project settings to include debug information and debug the optimized code. Chances are, you are not initializing something properly and you are getting lucky that it works in debug.


This thread contains 2 messages.
Hosting by Solid Eight Studios, maker of PhotoTangler Collage Maker.