Wiki


Cross-Build for WinCE 6.5.3

Locked

User Rating: 4 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Inactive
 
Contents[Hide]
Contents[Hide]

Our target is to build a project for Windows Mobile 6.5.3 Professional (WVGA 480x800).
At this demonstration we use as host Operating System, the Windows 7 32/64bit
This procedure works with the same way for all Win32 or Win64 Layers Operating Systems.

 

1. Prepare Your PC

Download Windows Mobile 6.5.3 Professional Developer Tool Kit (here download1 )

cross2 emu1.zoom52

 

Download Microsoft Device Emulator 3.0
from Microsoft Web Site the WM 6.5.3 Emulator (here download1 )
32 Bit or 64 Bit

cross2 emu2.zoom52

Install Microsoft Device Emulator 3.0 and Windows Mobile 6.5.3 Professional Developer Tool Kit

 

2. Prepare CodeTyphon Studio

Only for 64bit Windows, switch first from CodeTyphon Center to lazarus32 IDE.
From CodeTyphon Center select "Cross-Build->FreePascal 32bits->FPC32 build cross element arm-wince"

cross wince1

wait to finish the CodeTyphon script...
After the end of script the "Cross element for arm-WinCE" is at Status Tab

cross wince3

 

Prepare WinCE 6.5.3 emulator

Start Microsoft Device Emulator Manager.
-Mark Windows Mobile 6.5.3 Professional WVGA
-from menu "Action" select "Connect"

cross2 emu3

 

cross2 emu7.zoom65

Set to Emulator "Shared folder" the folder of  your project.

cross2 emu8.zoom91

Open the "File Explorer" application to emulator.

cross2 emu9.zoom60

Now the emulator "Storage Card" looks direct to your "Shared folder".

cross2 emu10.zoom45

 

3. Configure your Application

Open Lazarus32 IDE and make a new Project.
Set to project1 compiler options

Target OS: WinCE
Target CPU family: arm

cross wince4.zoom65

Set LCLWidgetType to WinCE

cross wince5.zoom63

Our suggestion is to set "Display Line Numbers in Run-time Error Backtraces (-gl)" OFF

cross2 emu82.zoom78

Save your project to "Shared folder" with Emulator .

"Build only" your Project from lazarus32 IDE and "Run" your project from emulator.

 

pl_Cindy Library Sample

cross2 emu12.zoom41

 

pl_Graphics32 Library Sample 

cross2 emu13.zoom40

Our suggestion is to with Strip and UPX your project with "CodeTyphon Center Tools",  before Release