[Q] btdrt.lib linking error. in EVC



Hi all,


I'm trying to write a very simple application in EVC 4.0 that uses
btdrt.lib. I am including bt_api.h, and linking to btdrt.lib. But when
ever I
compile the program I get the following linking errors;


btdrt.lib(btdrt.obj) : error LNK2019: unresolved external symbol
BthApiDllMain referenced in function DllMain
btdrt.lib(btdrt.obj) : error LNK2001: unresolved external symbol
g_fBthApiCOM
btdrt.lib(btdrt.obj) : error LNK2019: unresolved external symbol
BthApiDllCanUnloadNow referenced in function DllCanUnloadNow
btdrt.lib(btdrt.obj) : error LNK2019: unresolved external symbol
BthApiDllGetClassObject referenced in function DllGetClassObject
btdrt.lib(btdrt.obj) : error LNK2019: unresolved external symbol
BthApiDllRegisterServer referenced in function DllRegisterServer
btdrt.lib(btdrt.obj) : error LNK2019: unresolved external symbol
BthApiDllUnregisterServer referenced in function DllUnregisterServer


Does anyone know what I am missing? It seems like I should be linking
to
another .lib file.

Thanks for the help

Hi all,


I'm trying to write a very simple application in EVC 4.0 that uses
btdrt.lib. I am including bt_api.h, and linking to btdrt.lib. But when
ever I
compile the program I get the following linking errors;


btdrt.lib(btdrt.obj) : error LNK2019: unresolved external symbol
BthApiDllMain referenced in function DllMain
btdrt.lib(btdrt.obj) : error LNK2001: unresolved external symbol
g_fBthApiCOM
btdrt.lib(btdrt.obj) : error LNK2019: unresolved external symbol
BthApiDllCanUnloadNow referenced in function DllCanUnloadNow
btdrt.lib(btdrt.obj) : error LNK2019: unresolved external symbol
BthApiDllGetClassObject referenced in function DllGetClassObject
btdrt.lib(btdrt.obj) : error LNK2019: unresolved external symbol
BthApiDllRegisterServer referenced in function DllRegisterServer
btdrt.lib(btdrt.obj) : error LNK2019: unresolved external symbol
BthApiDllUnregisterServer referenced in function DllUnregisterServer


Does anyone know what I am missing? It seems like I should be linking
to
another .lib file.


Thanks for the help


shu

.



Relevant Pages

  • Re: Compiling CERDISP.exe
    ... At his point I get linking errors. ... directory for files to compile. ... cerdisp.obj: error LNK2019: unresolved external symbol GetMessageW ... DispatchMessageW referenced in function WinMain ...
    (microsoft.public.windowsce.platbuilder)
  • error LNK2019: unresolved external symbol SmsOpen ??
    ... I compile in eVC++ having included the sms.h ... When I compile it everthing work just fine, but when I build it I get ... error LNK2019: unresolved external symbol SmsSendMessage ... structures which are declared in the header file, ...
    (microsoft.public.pocketpc.developer)
  • cant compile php_imagick on M$ windows ?
    ... i tried to compile php_imagick on my win box with visual c++ 6.0 ... but i got these errors when linking: ... imagick.obj: error LNK2001: unresolved external symbol ...
    (comp.lang.php)
  • build error
    ... When I am using evc, ... Linking... ... corelibc.lib: error LNK2019: unresolved external symbol ...
    (microsoft.public.windowsce.embedded.vc)
  • linking errors only with /MT option, nothing else
    ... compilation option. ... linking the static excutable completely dies (problems ... Deleting intermediate and output files for project 'WTF', configuration ... Sys.lib: error LNK2001: unresolved external symbol ...
    (microsoft.public.vsnet.general)