Link to Battery Driver LIB and DEF Files (Compact 7)
3/12/2014
In Windows Embedded Compact 7 the battery driver library model device driver (MDD) was updated and the name was changed and the battery driver definition file was moved.
Battery Driver Library
If you link to battdrvr_lib.lib in your Sources file, change the name to batterdrvr_mdd.lib, as shown in the following example:
Windows Embedded CE 6.0
$(_SYSGENOAKROOT)\lib\$(_CPUINDPATH)\battdrvr_lib.lib \
Windows Embedded Compact 7
$(_SYSGENOAKROOT)\lib\$(_CPUINDPATH)\ batterdrvr_mdd.lib \
Battery Driver Definition
The battdrvr.def file has been relocated from platform\common\oak\drivers\battdrvr to platform\common\oak\inc. You no longer need to use a relative path to link to it. The following code examples show what the change looks like:
Windows Embedded CE 6.0
DEFFILE=$(_PUBLICROOT)\common\oak\lib\$(_CPUINDPATH)\battdrvr.def
Windows Embedded Compact 7
DEFFILE=$(_SYSGENOAKROOT)\inc\battdrvr.def