Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Porting a chessprogram

Author: Paul Massie

Date: 16:34:28 08/12/01

Go up one level in this thread


I just finished porting a program to the PocketPC.  It was previously compiled
on MSVC 6.0, with mostly ANSI C.  About 90% of it was just a re-compile.  The
rest had to be re-written in some non-obvious ways.  You MUST have a graphic UI,
and it MUST conform to Microsoft standards.  There are a few, but important,
ANSI functions that just aren't there.  They've been supplanted with Microsoft
functions.  If you're contemplating this I would recommend getting the book
"Programming Microsoft Windows CE, Second Edition" by Doug Boling.  It's
expensive, at about $65, but has a number of valuable tips in it.  It also has a
copy of the compiler on CD.

Paul

On August 12, 2001 at 17:45:27, Tim Foden wrote:

>On August 12, 2001 at 16:45:53, Gian-Carlo Pascutto wrote:
>
>>Someone recently asked me if I would consider porting
>>my program over to Pocket PC's.
>>
>>My question is how much work would this be? I can
>>imagine it's not going to be a straight recompile,
>>but what is involved in doing this kind of port?
>>
>>My engine is ANSI C, no assembly or anything, and
>>only has a text mode.
>
>There is no command line mode in Pocket PC.  You would have to write a graphic
>UI of some sort.
>
>Also, the OS is based on Unicode, not Ansi, so strings may need to be ported.
>
>There are very few ways to get the current time, so your time code will probably
>have to change.
>
>There may be a few other things, but I can't remember them right now.  I have a
>version of GLC that runs on Pocket PC.  If you have any more questions I'll try
>to answer them.
>
>At least the compiler, etc., is free for download, or $15 on a CD (I went for
>the latter as the download is very large).
>
>Cheers, Tim.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.