WinCEGeräteSE_Handbuch_Programmierung_v3.00_EN
8 / 65
e) Launching user programs
User programs are launched at the end of the boot sequence with a customised batch \flashdisk\autoapp.bat
if this was configured in StartConfig.
Info: The autoapp.bat file is copied into the \flashdisk folder once the production process has been
completed successfully; the source is saved in \flashdisk\system\sysprep\custom. A template to create the
autoboot.bat file is also stored in this folder.
1.2 ACD functions
Once the kernel and device drivers have booted, an executable CE device is ready for use. Various
components such as the scanner or keypad require other system services as either libraries or applications.
These files are located in the directory \flashdisk\system.
1.2.1 Status bar (DevCtl.exe)
You can access central services from the \flashdisk\system\devctl.exe file (“status bar”). The file launches
automatically immediately after booting. It is responsible for:
•
Evaluating the battery status
•
Evaluating and processing keyboard events
•
Processing and coordinating application messages with suspend and shutdown
•
Providing device information (version information, device names, serial numbers, power statuses etc.)
•
Setting the display brightness
•
Managing power save mechanisms (display dimming)
•
Displaying the status bar with battery icon and clock at the bottom of the screen
Various status bar settings options can be defined in the configuration file \flashdisk\system\ini\dev.ini and
Windows Messages:
-
Hide / show option
-
Position
-
Battery status
o
Charging / discharging
o
Battery level status
-
Clock
o
Hours / minutes
o
Seconds (optional)
-
User-defined text
o
Background colour
o
Position
o
Size
o
Font
o
Font colour
o
Normal / bold
o
Flashing
o
Acoustic signal simultaneously to the text flashing
The status bar can access the functions of the central system library acddev.dll.