]> git.saurik.com Git - wxWidgets.git/blame - docs/msw/wince/porting.txt
backport CDATA code in wxHTML
[wxWidgets.git] / docs / msw / wince / porting.txt
CommitLineData
1a4fe894
JS
1==========================================================
2 wxWindows porting for Windows CE (TM)
3==========================================================
4 Author : Marco Cavallini
5==========================================================
6
7What I've done:
8
91. This porting will use much files from MSW
10
112. Large use of #ifdef __WXWINCE__ into common and msw include files
12
133. As first
14- create wxwindows\src\wince
15- create wxwindows\include\wx\wince
16for files not shared with MSW
17
184. Then create two eVC projects
19- wxBaseCE
20- wxWinCE
21
225. Search #ifdef __WXMSW__ and add the #ifdef __WXWINCE__ case in include files.
23
246. Start including CPP and H file into these projects and compile
25- See errors and solve.
26
277. To be continued...
28
29==========================================================
30
31
32New Macro Definitions
33---------------------
34This identifies WinCE environment and should not be used
35#if !defined(_WIN32_WCE)
36#ifdef(_WIN32_WCE)
37
38This identifies wxWinCE environment and can be used
39#if !defined (__WXWINCE__)
40#ifdef (__WXWINCE__)
41
42
43
44New Paths
45---------
46\wxWindows\include\wince
47\wxWindows\src\wince
48
49
50Compiler options
51----------------
52Add
531. Tools-Option-Directories-Include = ...yourpath...\wx\wxWindows\include
542. Tools-Option-Directories-Libraries = ...yourpath...\wx\wxWindows\lib
55
56
57Incompatibility stuff & Missing headers
58---------------------------------------
368c9c6d 59ANSI is not supported, WinCE has only Unicode
1a4fe894
JS
60<time.h>
61<sys\types.h>
62<assert.h>
63<signal.h>
64strdup becomes _strdup
65
66
67Always-open Items
68-----------------
691. Sometimes chech all __WXMSW__ to see if __WXWINCE__ is propery managed in the #if/else
702. Do not use TABS, use spaces, verify each file modified.
713. Find in files this string "!!!!!" and look if there is some code not completed
72
73
74NOTES
75-----
76#. /wince/dummy.cpp is needed for build the precompiled header
77#.
78
79
80
368c9c6d
JS
81===========================================================
82 Koan s.a.s. - Industrial Automation and Embedded Software
83 Via Pascoli, 3 / Int.1 - 24121 Bergamo - ITALIA
84 www.koansoftware.com
85===========================================================