Discussion Board
-
RSdp and RSdpDatabase
2004-01-07, 10:31
#1
Registered User
I am trying to write an application with bluetooth,
with reference to the BTAdvertiser example,
i had 2 variables namely
RSdpDatabase iSdpDatabase;
RSdp iSdpSession;
i follow the example to write the constructor, however, the compiler keeps complaining that the iSdpDatabase and iSdpSession are not initialized
the error messages are like this:
unresolved external symbol "public:__thiscall RSdpDatabase::RsdpDatabase(void)" (??ORSdpDatabase@@QAE@XZ) referenced in function "public: __thiscall CBtEngine::CBtEngine(class MUINotifier &)" (??OCBtEngine@@QAE@AAVMUINotifier@@@Z)
unresolved external symbol "public: __thiscall RSdp::RSdp(void)" (??ORSdp@@QAE@XZ) referenced in function "public: __thiscall CBtEngine::CBtEngine(class MUINotifier &)" (??OCBtEngine@@QAE@AAVMUINotifier@@@Z)
and my constructor is like this
CBtEngine::CBtEngine(MUINotifier& aConsole)
:CActive(EPriorityStandard),
iConsole(aConsole),
iRecord(0),
iIsConnected(EFalse)
{
}
can somebody help me with this?
Thanks in advance
-
Super Contributor
You must link sdpdatabase.lib library with your application. Just add this line to your .mmp file:
LIBRARY sdpdatabase.lib
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules