So I'm implementing a custom PDD for the battery driver and I am
unclear as to how I should link it to the MDD.

Thus far I have copied the sbattif.c file into my platform drivers,
modified it, and am building it as a DLL. What do I need to do now to
get it to link against the MDD that lives in public?

Is it as simple as adding battdrvr.lib to my sourcelibs in my sources
file?

thanks!

-Tim

Re: Battery Driver PDD implementation by Voidcoder

Voidcoder
Fri Jul 29 11:28:59 CDT 2005

You must link to "battdrvr_lib.lib"

SOURCELIBS=
$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\battdrvr_lib.lib


"buckyllama" <tim.howe@gmail.com> wrote in message news:1122577036.001858.295470@g43g2000cwa.googlegroups.com...
> So I'm implementing a custom PDD for the battery driver and I am
> unclear as to how I should link it to the MDD.
>
> Thus far I have copied the sbattif.c file into my platform drivers,
> modified it, and am building it as a DLL. What do I need to do now to
> get it to link against the MDD that lives in public?
>
> Is it as simple as adding battdrvr.lib to my sourcelibs in my sources
> file?
>
> thanks!
>
> -Tim
>