How do you link to the Bluetooth API?
From: Scott Brewer (ScottBrewer_at_discussions.microsoft.com)
Date: 02/12/05
- Previous message: natush: "C++ vs C"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 12 Feb 2005 12:57:01 -0800
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
Scott
- Previous message: natush: "C++ vs C"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|