Discussion Board

Results 1 to 1 of 1
  1. #1
    Registered User
    Join Date
    May 2005

    Question BTDeviceTable Access

    Hi, i'm trying to access the BTDeviceTable on the COmmDB of a Nokia 6630
    to get the last used devices list.
    My application crashes when i open the table. THis is the code is use:

    TBuf<KCommsDbSvrMaxColumnNameLength> devAddr;
    CCommsDatabase* commDB = CCommsDatabase::NewL(ETrue);
    TInt lock = commDB->BeginTransaction();
    CCommsDbTableView* myTableView=NULL;
    //Application CRASHES here !
    TRAPD(openTblErr, myTableView=commDB->OpenTableLC(TPtrC(BT_DEVICE_TABLE)));
    if (openTblErr != KErrNone)
    devAddr.Append(_L("Tabella non trovata"));
    return devAddr;

    Please can someone help me about this? Why opening the table give the crash either on the emulator and the Phone?

    There is another way to read the table different by OpenTableLC?

    Thank you very much in advance for any help

    Last edited by aluong; 2005-11-24 at 13:14. Reason: better redeability

Similar Threads

  1. Gateway IP address in Nokia 6600 access point
    By yashodhan in forum General Development Questions
    Replies: 0
    Last Post: 2004-10-01, 12:22
  2. Why use direct screen access?
    By Kalderas in forum Symbian
    Replies: 3
    Last Post: 2003-10-10, 14:29
  3. Why is client code to CSocketEngine hanging at Access Point dialogue?
    By nawkboy in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2003-03-11, 11:16
  4. Replies: 0
    Last Post: 2003-02-24, 04:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts