Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Oct 2003

    RSdp and RSdpDatabase

    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)

    can somebody help me with this?
    Thanks in advance

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Czech Republic
    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