Added Marco's first WinCE files

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-12-05 21:18:30 +00:00
parent 42280e48f2
commit 1a4fe894fe
13 changed files with 11126 additions and 0 deletions

View File

@@ -0,0 +1,84 @@
==========================================================
wxWindows porting for Windows CE (TM)
==========================================================
Author : Marco Cavallini
==========================================================
What I've done:
1. This porting will use much files from MSW
2. Large use of #ifdef __WXWINCE__ into common and msw include files
3. As first
- create wxwindows\src\wince
- create wxwindows\include\wx\wince
for files not shared with MSW
4. Then create two eVC projects
- wxBaseCE
- wxWinCE
5. Search #ifdef __WXMSW__ and add the #ifdef __WXWINCE__ case in include files.
6. Start including CPP and H file into these projects and compile
- See errors and solve.
7. To be continued...
==========================================================
New Macro Definitions
---------------------
This identifies WinCE environment and should not be used
#if !defined(_WIN32_WCE)
#ifdef(_WIN32_WCE)
This identifies wxWinCE environment and can be used
#if !defined (__WXWINCE__)
#ifdef (__WXWINCE__)
New Paths
---------
\wxWindows\include\wince
\wxWindows\src\wince
Compiler options
----------------
Add
1. Tools-Option-Directories-Include = ...yourpath...\wx\wxWindows\include
2. Tools-Option-Directories-Libraries = ...yourpath...\wx\wxWindows\lib
Incompatibility stuff & Missing headers
---------------------------------------
<time.h>
<sys\types.h>
<assert.h>
<signal.h>
strdup becomes _strdup
Always-open Items
-----------------
1. Sometimes chech all __WXMSW__ to see if __WXWINCE__ is propery managed in the #if/else
2. Do not use TABS, use spaces, verify each file modified.
3. Find in files this string "!!!!!" and look if there is some code not completed
NOTES
-----
#. /wince/dummy.cpp is needed for build the precompiled header
#.
==========================================================
Koan s.a.s. - Industrial Automation and Embedded Software
Via Pascoli, 3 / Int.1 - 24121 Bergamo - ITALIA
Tel./Fax (++39) +35 - 255.235 - www.koansoftware.com
==========================================================

80
docs/msw/wince/readme.txt Normal file
View File

@@ -0,0 +1,80 @@
=================================================
Welcome to wxWindows/CE 2.3.4 (is becoming 2.5.0)
=================================================
You have downloaded version 2.3.4 of the WinCE 3.0 port of
the wxWindows GUI library. This runs on WindowsCE 3.0.
More information about the wxWindows project as a whole
can be found at:
http://www.wxwindows.org
Supported platforms
===================
These are the supported platform at the moment
- x86 emulator
- PocketPC (StrongARM)
You can test the library and applications using PocketPC emulator
and/or Compaq iPAQ or other PDAs using PocketPC
WindowsCE.NET is not supported.
Compiler installation
=====================
Get the Visual C++ embedded (FREE) from Microsoft website
http://msdn.microsoft.com/vstudio/device/embedded/download.asp
You must use Visual Tools 3.0 for CE 3.0<EFBFBD>
(this is the same we are currently using for wxWinCE)
Install selecting only the two target platforms used:
- WCE x86em (PocketPC emulation)
- WCE ARM (PocketPC StrongARM)
General installation notes
==========================
Alter your WXWIN environment variable to point to the root directory of the
wxWindows installation.
Add wxWindows include and library paths into Tools-Options-Directories
wxWindows/CE Compilation
================================
The following sections explain how to compile wxWindows/CE with the
Visual C++ embedded compiler.
Status
======
Currently develompment
Disclaimer
==========
All product names are used for identification purposes and are trademarks
or registered trademarks owned by their respective companies.
Marco Cavallini
www.koansoftware.com
.eof.