Reversi needs no introduction. This is derived from the PellesC sample as noted below, but was coded in BCX, using a subset of the language that works in UNICODE, and relying heavily of the C runtime functions that are automatically linked to all BCX programs. The code, once translated, was compiled using PellesC. The download includes a batchfile for compiling, plus the BCX source.
Source
Writing UNICODE compatible BCX code is one approach to using BCX for the Pocket PC. Another approach being used Ian Casey uses a post-processor for BCX that automatically converts the ASCII C output of BCX to Unicode code for use with the Pocket PC. Ultimately I hope a special version of BCX could be adapted for the Pocket PC, using a Ian's work to automatically build a Unicode compatible BCX run-time-library. The source code of Reversi is included as a sample of Pocket PC code that comes with the Pelles C compiler, and is also in the Pocket PC2000 SDK. I converted the PellesC version to BCX, and present it here as an example of using BCX with PellesC to produce Pocket PC programs. I recall I made some changes to the source (removing an annoying Message Box Error), and other changes were mandated by the change in language, but it is intended to be a faithful copy of the original.
This download includes the BCX source, the resource file source, and a batch file to translate, compile and link the program. The CAB file was made with the tools that come with PellesC, and the install file with EZSETUP.
Download Install Program:
Download Source: