Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

PocketWine

0.00/5 (No votes)
17 Aug 2000 1  
A wine database for Pocket Windows.

About PocketWine

PocketWine 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 wasn’t.

What you need

To 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 project

I 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 were 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.

Installation

Just copy the PocketWine executable (PocketWine.exe) to a folder on you Pocket PC. A good place could be '\Windows\Start Menu\Programs'. You should 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 code

The 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 Windows 2000 Professional.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here