WinCETrier
Thu May 29 01:46:04 PDT 2008
Thanks for all you guys suggestions!
The problem turned out to be usbd.lib& usbclient.lib can't be found in lib
path. With absloute path , the problem disappears. Strange!
Thanks again!
"Michel Verhagen (eMVP)" wrote:
> I think you really want one huh!?
>
> Good luck,
>
> Michel Verhagen, eMVP
> Check out my blog:
http://GuruCE.com/blog
>
> GuruCE Ltd.
> Microsoft Embedded Partner
>
http://GuruCE.com
> Consultancy, training and development services.
>
> Chris Tacke, eMVP wrote:
> > Or maybe leprechaun magic!
> >
> > -Chris
> >
> >
> > "Michel Verhagen (eMVP)" <michel@nospam.box> wrote in message
> > news:eyegVsLrIHA.3420@TK2MSFTNGP04.phx.gbl...
> >> Huh? No sources. file? What do you use to build the DLL? eVC?
> >>
> >>
> >> Good luck,
> >>
> >> Michel Verhagen, eMVP
> >> Check out my blog:
http://GuruCE.com/blog
> >>
> >> GuruCE Ltd.
> >> Microsoft Embedded Partner
> >>
http://GuruCE.com
> >> Consultancy, training and development services.
> >>
> >> WinCE Trier wrote:
> >>> Thanks, for your suggestion.
> >>>
> >>> The DLL directory has no sources file. I am using CE 4.20.
> >>>
> >>> Best Regards,
> >>>
> >>> Tony
> >>>
> >>>
> >>> "Michel Verhagen (eMVP)" wrote:
> >>>
> >>>> You have to add it to the SOURCELIBS in the sources file. Show us you
> >>>> "sources." file.
> >>>>
> >>>> Good luck,
> >>>>
> >>>> Michel Verhagen, eMVP
> >>>> Check out my blog:
http://GuruCE.com/blog
> >>>>
> >>>> GuruCE Ltd.
> >>>> Microsoft Embedded Partner
> >>>>
http://GuruCE.com
> >>>> Consultancy, training and development services.
> >>>>
> >>>> WinCE Trier wrote:
> >>>>> I using WinCE 4.20 for CEPC.
> >>>>>
> >>>>> Os building is ok.
> >>>>>
> >>>>> But when I try to build USB driver, Then I meet a link error:
> >>>>>
> >>>>> Linking...
> >>>>> Creating library CEPC__X86Dbg/USBTest.lib and object
> >>>>> CEPC__X86Dbg/USBTest.exp
> >>>>> USBTest.obj : error LNK2019: unresolved external symbol
> >>>>> _RegisterClientSettings referenced in function _USBInstallDriver
> >>>>> USBTest.obj : error LNK2019: unresolved external symbol
> >>>>> _GetSetKeyValues referenced in function _USBInstallDriver
> >>>>> AesIo.obj : error LNK2001: unresolved external symbol _GetSetKeyValues
> >>>>> USBTest.obj : error LNK2019: unresolved external symbol
> >>>>> _RegisterClientDriverID referenced in function _USBInstallDriver
> >>>>> AesIo.obj : error LNK2019: unresolved external symbol
> >>>>> _IssueBulkTransfer referenced in function "unsigned long __cdecl
> >>>>> ReadUsb(struct _USBFPS_CONTEXT *,unsigned char *,unsigned long,unsigned
> >>>>> long)" (?ReadUsb@@YAKPAU_USBFPS_CONTEXT@@PAEKK@Z)
> >>>>> AesIo.obj : error LNK2019: unresolved external symbol
> >>>>> _DefaultTransferComplete referenced in function "unsigned long __cdecl
> >>>>> ReadUsb(struct _USBFPS_CONTEXT *,unsigned char *,unsigned long,unsigned
> >>>>> long)" (?ReadUsb@@YAKPAU_USBFPS_CONTEXT@@PAEKK@Z)
> >>>>> CEPC__X86Dbg/USBTest.dll : fatal error LNK1120: 5 unresolved externals
> >>>>> Error PB2505: Error executing link.exe.
> >>>>>
> >>>>> USBTest.dll - 8 error(s), 0 warning(s)
> >>>>>
> >>>>> These APIs seem in usbd.lib. I tried set usbd.lib in lib directory,
> >>>>> but no help.
> >>>>>
> >>>>> Thanks for any suggestion!
> >>>>>
> >>>>> Tony
> >>>>>
> >>>>>
> >
> >
>