I have written an SD Host Controller driver for my platform (sdhc.dll), which
I think requires the sdbus.dll driver to be included in the build. My
question is how to include the sdbus.dll in the build? I have tried adding a
bib entry for it under my platform.bib, but there are unresolved external
errors during the makeimg phase: "SDHCDGetHCFunctions" and
"SDGetClientFunctions" in sdbus.dll not found.

So there must be some file other than platform.bib where I can include the
sdbus.dll. The common.bib file has this entry:
; @CESYSGEN IF CE_MODULES_SDBUS
sdbus.dll $(_FLATRELEASEDIR)\sdbus.dll NK SH
; @CESYSGEN ENDIF CE_MODULES_SDBUS

But this does not show up in the final ce.bib file. What am I missing? Do I
need to add a sysgen variable? Please help! Thanks.

Re: SDBus driver fails to be included in build (WinCE 5.0) by Steve

Steve
Wed Apr 27 16:12:55 CDT 2005

Yes, you will need to set SYSGEN_SDBUS=1. Not only will this link the bus
driver, but it will also place the helper SD libraries in the proper places.
Make that you have the public sdhclib.lib and sdcardlib.lib libraries in
your list of TARGETLIBS, too.

--
Steve Schrock
Windows CE Device Drivers and BSPs

This posting is provided "AS IS" with no warranties, and confers no rights.

"Anish Trivedi" <AnishTrivedi@discussions.microsoft.com> wrote in message
news:4DF6F1BE-6F5B-4834-8911-FC85D511BC04@microsoft.com...
>I have written an SD Host Controller driver for my platform (sdhc.dll),
>which
> I think requires the sdbus.dll driver to be included in the build. My
> question is how to include the sdbus.dll in the build? I have tried adding
> a
> bib entry for it under my platform.bib, but there are unresolved external
> errors during the makeimg phase: "SDHCDGetHCFunctions" and
> "SDGetClientFunctions" in sdbus.dll not found.
>
> So there must be some file other than platform.bib where I can include the
> sdbus.dll. The common.bib file has this entry:
> ; @CESYSGEN IF CE_MODULES_SDBUS
> sdbus.dll $(_FLATRELEASEDIR)\sdbus.dll NK SH
> ; @CESYSGEN ENDIF CE_MODULES_SDBUS
>
> But this does not show up in the final ce.bib file. What am I missing? Do
> I
> need to add a sysgen variable? Please help! Thanks.
>