Page 1 of 1

True VGA

PostPosted: Sep 6, 2004 @ 10:55pm
by v0101
Using this program, people can put there VGA device in true VGA mode.
http://www.pocketgear.com/software_detail.asp?id=14679

In normal VGA mode even though the screen is 480x640, Windows still maps the stylus to 240x320. In true VGA mode Winodws maps the stylus to 480x640. PocketHAL works fine in both modes, but is there a way to detect which VGA mode the user is using so I know how to handle the stylus?

By the way, the version that was tested was 0.7.3.

Thanks.

PostPosted: Sep 12, 2004 @ 5:15am
by Kzinti

SE_VGA

PostPosted: Jun 15, 2005 @ 6:49pm
by Jobu
If you compile your program with this flag, you do not need to force it into 480X640 mode. Changing a compiler flag will allow the screen to be used @ full resolution. You can find this flag by going to

Project->Setting
Click on Link tab. At the bottom of the tab there is a text box with the title Project Options:

Replace: "/subsystem:$(CESubsystem)"
With: "/subsystem:WINDOWSCE,4.21"
There are not supposed to be quotes in the text box!!!

Make sure that if you compile it with these options it is only used on a handheld running WinCE 4.21. From what I understand each executable created by EVC++ 4.0 has a WinCE subsystem number. If the number is under 4.21 it will default to the 230x320 because it believes it is on an older handheld that does not support VGA mode. The default must be 4.20 or lower to make the application more portable.