xwords/wince
2005-11-27 20:09:15 +00:00
..
bmps first cut 2004-01-10 18:06:18 +00:00
.cvsignore add vc60.pdb 2005-07-30 02:07:20 +00:00
armrel.mk add relay dir to -I list 2005-06-13 13:23:33 +00:00
ceaskpwd.c remove unused var 2004-07-10 17:42:16 +00:00
ceaskpwd.h remove unused var 2004-07-10 17:42:16 +00:00
ceblank.c fix compile warnings 2005-06-23 14:12:09 +00:00
ceblank.h add a couple of consts to fix warnings 2005-06-13 14:34:01 +00:00
ceclrsel.c fix capitalization of header file -- which gcc cares about. 2005-11-27 20:04:06 +00:00
ceclrsel.h always build with color editing 2004-05-26 04:43:53 +00:00
cecondlg.c begin work of allowing multi-device play over WiFi/Cellular: add 2005-07-23 15:31:21 +00:00
cecondlg.h begin work of allowing multi-device play over WiFi/Cellular: add 2005-07-23 15:31:21 +00:00
cedefines.h move scoreboard back to top 2004-12-17 15:08:00 +00:00
cedict.c fix compile error! 2005-06-30 01:51:40 +00:00
cedict.h fix syntax error 2005-11-27 20:04:46 +00:00
cedraw.c fix syntax errors; other catch up with changes 2005-11-27 20:05:33 +00:00
ceginfo.c remove connect info button, instead bring it up every time role 2005-10-06 02:34:07 +00:00
ceginfo.h begin work of allowing multi-device play over WiFi/Cellular: add 2005-07-23 15:31:21 +00:00
cehntlim.c protect with ifdef 2004-07-10 17:51:42 +00:00
cehntlim.h protect with ifdef 2004-07-10 17:51:42 +00:00
ceir.h first checkin from personal archive 2003-11-20 16:26:35 +00:00
cemain.c add strings for relay errors 2005-09-07 12:31:32 +00:00
cemain.h use renamed constant 2005-08-21 14:05:29 +00:00
ceprefs.c begin work of allowing multi-device play over WiFi/Cellular: add 2005-07-23 15:31:21 +00:00
ceprefs.h begin work of allowing multi-device play over WiFi/Cellular: add 2005-07-23 15:31:21 +00:00
cesockwr.c change how struct is defined for gcc 2005-11-27 20:06:36 +00:00
cesockwr.h Add and use driver for communication over TCP. Driver uses two 2005-07-30 02:02:49 +00:00
cestrbx.c call ceCenterCtl() 2005-02-06 06:52:57 +00:00
cestrbx.h postpone adding text to keep it from showing up highlighted. (Thx to B.T. for the tip.) 2004-02-28 05:21:26 +00:00
ceutil.c add assertion on null string 2005-07-23 15:16:26 +00:00
ceutil.h add ceCenterCtl() 2005-02-06 06:52:24 +00:00
LocalizedStrIncludes.h add remaining tiles dialog 2004-11-09 02:51:22 +00:00
newres.h first checked in 2003-12-03 04:30:32 +00:00
README.txt add URL for getting EVC++ environment. 2004-05-15 01:21:11 +00:00
resource.h remove connect info button, instead bring it up every time role 2005-10-06 02:34:07 +00:00
shared.mk make network play on by default 2005-09-07 12:32:29 +00:00
simrel.mk add relay dir to -I list 2005-06-13 13:23:33 +00:00
StdAfx.cpp first checkin from personal archive 2003-11-20 16:26:35 +00:00
stdafx.h first checkin from personal archive 2003-11-20 16:26:35 +00:00
xptypes.h fix caps; use rand() on win32 2005-11-27 20:09:15 +00:00
xwords.vcp revert to an earlier version that didn't build crashing code. 2005-02-11 02:50:04 +00:00
xwords4.h first checkin from personal archive 2003-11-20 16:26:35 +00:00
xwords4.rc remove connect info button, instead bring it up every time role 2005-10-06 02:34:07 +00:00

This document describes how to build Crosswords for PocketPC.

First, you need to install Microsoft's SDK for Wince/PocketPC.  It's
available for about $8 shipping and handling from Microsoft, and is
included with many books on PocketPC/Wince programming.  Here's a link
where I was able to get it:

https://microsoft.order-5.com/trialstore/product.asp?catalog%5Fname=MSTrialandEval&category%5Fname=Developer+Tools&product%5Fid=X09%2D17298

1.  Launch eMbedded Visual C++ (EVC++).

2.  Choose "Open" from the "File" menu, and open xwords.vcp in this
    directory.

*** To build for the emulator (best for development work): ***

3.  On the "Build" menu, choose "Set active conguration".  Select
    "xwords - Win32 (WCE x86) Debug" and click on the "OK" button.

4.  Choose "Build xwords.exe" from the "Build" menu.  You will see the
    names of files appear in the Build window, and a few warnings that
    you can safely ignore (though fixes are welcomed!)  After the link
    finishes, you'll see a dialog announcing that the emulator is
    being started.  The emulator will appear, and once the dialog
    disappears, if you go to the Start menu in the emulator you'll see
    a listing for "xwords".

5.  Before you can run Crosswords/xwords, you need to install a
    dictionary on the emulator.  To do this, go back to EVC++ and
    choose "Remote file viewer" from the "Tools" menu.

6.  From the "Connection" menu of the file browser that appears, choose
    "Add connection", select "Pocket PC 2002 Emulation" and click "Ok".

7.  Now navigate to a directory.  (I usually use "\My
    Documents\Personal", but it shouldn't matter.)  From the "File"
    menu, choose "Export file".  Then select the file
    "BasEnglish2to8.xwd" from the directory dawg/English.  (The
    directory dawg lives in the same directory as the wince directory
    this document is in.)

8.  Now when you launch xwords on the emulator it will not complain
    that there's no dictionary, and you'll be able to navigate to
    BasEnglish2to8.xwd when starting your first game.


*** To build for a device ***

9.  On the "Build" menu, choose "Set active conguration".  Select
    "xwords - Win32 (WCE ARM) Release" or "xwords - Win32 (WCE x86)
    Debug" and click on the "OK" button.  The "Debug" version has a
    number of asserts and other debugging aids compiled in, and logs
    to the file "/My Documents/Personal/xwDbgLog.txt" on the device.
    The "Release" version does no logging, and is smaller and faster
    and in general better suited for non-developers.

10. Choose "Build xwords.exe" from the Build menu.  Once the link is
    finished, EVC++ will try to upload the executable to your device.
    If that works, fine.  Otherwise, you'll need to get the file
    wince/ARMRel/xwords.exe (or wince/ARMDbg/xwords.exe) to your
    device on your own.  I use either an SD card or IR beaming for
    this.  You'll also need a dictionary such as BasEnglish2to8.xwd
    from dawg/English.

11. Once xwords.exe and a dictionary are on your device, just use the
    File Explorer to lauch xwords.exe.

12. Enjoy!  And please report bugs and/or submit fixes.