Enabling VGA in PPL and Window Mobile 5.0 compatibility

To enable VGA, you will a third-party program like Force Hi-Resolution Tool. Check the following article from the PocketPC Magazine: http://www.pocketpcmag.com/forum/ topic.asp?TOPIC_ID=15471 to download and install the application.

You can then add PPL.EXE or your own program's executable file generated with PPL to the list.

You can also use Tweaks2k2 to create an .MUI file that you can distribute with your application to enable VGA display. We recommend this solution for an easier distribution. Force Hi-Resolution Tool needs to be installed on the target device to enable VGA. With Tweaks2k2 solution you don't need to install anything other than distributing the .MUI file.

For VGA game development you will need to change the GameAPI InitGameAPIEx resolution to 480 x 640 for normal display or 640 x 480 for landscape display.

Ex:

InitGameAPIEx (h$, NULL, 480, 640, false, 0, 0);

The last step is to replace the gsgetfile.dll file with a Windows Mobile 5.0 compatible version.

  1. Rename the file gsgetfile.dll from \Program Files\PPL\ to gsgetfile_ppc2000.dll
  2. Copy the file gsgetfile_wm2005.dll to \Program Files\PPL\
  3. Rename the file gsgetfile_wm2005.dll to \Program Files\PPL\ to gsgetfile.dll

Et voila, the file selection dialog will look correct on Windows Mobile 2005.