WinCEGeräteSE_Handbuch_Programmierung_v3.00_EN
2 / 65
Contents
Contents ............................................................................................................. 2
1
Overview ...................................................................................................... 4
1.1
Windows CE on ACD devices .................................................................................... 4
1.1.1
Flash memory ............................................................................................................. 6
1.1.2
The RAM memory ....................................................................................................... 6
1.1.3
Distinction between volatile / permanent memory ....................................................... 6
1.1.4
System startup ............................................................................................................ 7
1.2
ACD functions ............................................................................................................. 8
1.2.1
Status bar (DevCtl.exe) ............................................................................................... 8
1.2.2
System library acddev.dll ............................................................................................ 9
1.3
Overview of ACD Windows CE devices ................................................................... 10
2
Mobile Device Centre ................................................................................. 11
2.1
Versions .................................................................................................................... 11
2.2
Partnerships .............................................................................................................. 12
2.3
ActiveSync registry entries........................................................................................ 12
2.4
RAPI functions .......................................................................................................... 13
3
C++ programming with Visual Studio ......................................................... 14
3.1
SDK – Software Development Kits for ACD devices ................................................ 14
3.1.1
Installation ................................................................................................................. 14
3.2
Creating a project ...................................................................................................... 14
3.3
Generating codes and debugging ............................................................................. 16
3.3.1
Project subfolder ....................................................................................................... 16
3.4
Notes, recommendations, advice ............................................................................. 17
3.4.1
General ..................................................................................................................... 17
3.4.2
Unicode is standard .................................................................................................. 17
3.4.3
Defining the Windows CE version ............................................................................. 18
4
C# programming with Visual Studio ........................................................... 19
4.1
Installation ................................................................................................................. 19
4.2
Creating a project ...................................................................................................... 19
4.3
Deployment ............................................................................................................... 20
4.4
Generating codes and debugging ............................................................................. 20
4.4.1
Project subfolder ....................................................................................................... 21
4.4.2
DeveloperPack .......................................................................................................... 21
4.4.2.1
Versions .................................................................................................................... 22
4.4.2.2
Reference sources .................................................................................................... 22
4.4.2.3
Examples .................................................................................................................. 22
5
Important software interfaces and device functions ................................... 23
5.1
Startup process and autostart options ...................................................................... 23
5.1.1
ACDInit.bat ................................................................................................................ 23
5.1.2
STARTUP.BAT ......................................................................................................... 23
5.1.3
AutoApp.bat / AutoApp.exe ....................................................................................... 23
5.1.4
STARTUP configuration ............................................................................................ 24
5.2
Device API ................................................................................................................ 24
5.3
Battery functions ....................................................................................................... 25
5.4
Power management .................................................................................................. 26
5.5
Display and backlight ................................................................................................ 26
5.6
Keyboard ................................................................................................................... 27
5.7
Scanner module ........................................................................................................ 28
Scanner types ........................................................................................................................ 28
ScanDrv scanner driver ......................................................................................................... 28
Types of use for the scanner module .................................................................................... 28
5.7.1
Internal and external scan data insertion .................................................................. 29
5.7.1.1
Inserting data from the internal scanner (ScanDrv) ................................................... 29
5.7.1.2
Inserting data of an external scanner (ExtScan2KeyCE) .......................................... 29
5.7.1.3
Basic initialisation of an external scanner ................................................................. 30
5.7.1.4
Closing ExtScan2KeyCE ........................................................................................... 30