Tripredacus Posted May 22, 2009 Share Posted May 22, 2009 I'm writing software to be run in Win PE v2.1 on a netbook. The resolutions supported are 800x600 and 1024x600. I try to use SETRES to use 1024x600, but the PE doesn't seem to like this option and reverts to 800x600. Knowing the resolution support ahead of time, my software is sized (which includes the winpe.bmp) to run at 1024x600. Any ideas on how to get this resolution set? Link to comment Share on other sites More sharing options...
Jazkal Posted May 22, 2009 Share Posted May 22, 2009 I had the same issue. For me it was actually a number of issues, depending on the hardware.On some systems, I had to include the video drivers in the winpe21 build process.On others, it was 16 instead of 32. ie: 1024x768x16 vs 1024x768x32And I went with an autoit script to do the res changes, because setres wouldn't work for me in winpe2.x Link to comment Share on other sites More sharing options...
Tripredacus Posted May 26, 2009 Author Share Posted May 26, 2009 Well in XP is says it is running at 1024x600 @ 32bit color and 60Hz.Update: I just tested setres in XP. I guess with this notebook (MSI Wind) setres doesn't work like usual. Typically, if you use a 1 for refresh rate (or a 0) setres will use the display's default setting. But the Wind didn't like that option, it returned a DISP_CHANGE_BADMODE (-2) error. If I set the refresh rate to what it is supposed to be (60) instead of the auto setting (1) it works at least in XP. I will have to try it now in the PE to see if that solves it as well. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now