Application Modernization: What Is It and How to Get Started
Environment: Windows CE 3.0
About PocketWinePocketWine is a small database for keeping track of the wines you have tried. I have written this utility for two reasons. When standing in the supermarket or at the wine dealer, it can be difficult to remember, if you have tried a certain wine before, and if so, how it was. The other reason for writing this program, is that I recently got my hands on a Pocket PC (a Casio Cassiopeia E-115) and the resource kit from Microsoft. I was curious to see how difficult it would be to write software for this new platform - and it seems that it wasnt.
What you needTo compile the source code you will need a Windows PC with Embedded Visual C++ 3.0, which can be obtained from Microsoft for a nominal fee. You will also need a Pocket PC with Windows CE 3.0 to execute the program.
The ProjectI will not go into details about the project, since it is fairly standard MFC stuff. I'm glad to say that I have not really discovered any pitfalls when writing this - my first Pocket PC application. It was only a couple of times that I discovered that certain API calls was not available. If you have written Windows programs before you can leverage you existing knowledge 99%. Of course if you want to take advantage of the specific Pocket PC features, you will have to learn new API's and interfaces. The eMbedded Visual C++ compiler is pretty stable, the documentation is adequate and there are lots of samples provided. All in all very good conditions for starting your own Pocket PC development project.
InstallationJust copy the PocketWine executable (PocketWine.exe) to a folder on you Pocket PC. A good place could be '\Windows\Start Menu\Programs'. You shpuld have at least 250 Kb free application memory. The executable has only been compiled for the MIPS processor and has only been tested with the Casio E-115, but it should work all right with other processor brands. If you would like an executable for another platform, recompile it yourself or contact me for a version compiled for you brand of PocketPC. If you would like to backup your data created in PocketWine, you should copy the file pocketwine', which is located in the root of 'My Device'.
The Source CodeThe source code for this program is freely available, and it may be altered and used in any way you wish, as long as the program are not sold for profit without explicit written permission from the author. The executable has been compiled with Microsoft eMbedded Visual C++ v. 3.0 on Windows2000 Professional.
DownloadsDownload executable for MIPS processor: PocketWine_mips.zip - 89 Kb
Download executable for SH3 processor: PocketWine_sh3.zip - 86 Kb
Download executable for ARM processor: PocketWine_arm.zip - 78 Kb
Download source code for utility:PocketWine_src.zip - 38 Kb