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:
84
docs/msw/wince/porting.txt
Normal file
84
docs/msw/wince/porting.txt
Normal 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
80
docs/msw/wince/readme.txt
Normal 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.
|
Reference in New Issue
Block a user