Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User GFYsweetwood's Avatar
    Join Date
    Oct 2008
    Posts
    229
    How to use the "TCommDbMultiConnPref" class?
    SDK, FN, google doesn't have demo,
    Who can give me an example?
    Very thanks!

  2. #2
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,672

  3. #3
    Registered User GFYsweetwood's Avatar
    Join Date
    Oct 2008
    Posts
    229
    Quote Originally Posted by symbianyucca View Post
    Thank you very much!
    The demo code:
    Code:
    TCommDbConnPref connPref1; 
    connPref.SetIapId(1); 
     
    TCommDbConnPref connPref2; 
    connPref.SetIapId(2); 
     
    TCommDbConnPref connPref3;
    connPref.SetIapId(3);  
     
    TCommDbMultiConnPref      iMultiConnPref;  
    iMultiConnPref.SetPreference(1, connPref1); 
    iMultiConnPref.SetPreference(2, connPref2);  
    iMultiConnPref.SetPreference(3, connPref3);  
    iMultiConnPref.SetConnectionAttempts(3);
    I also find these codes in <<Symbian.OS.Communications.Programming.2nd.Edition>>.

    But I didn't know that is which class uses TCommDbMultiConnPref.

  4. #4
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    Quote Originally Posted by GFYsweetwood View Post
    But I didn't know that is which class uses TCommDbMultiConnPref.
    Well, if an actual class is apparently not used by anyone, you can always check if its parent happens to be accepted somewhere... The situation does not differ much from TInetAddr (RSocket uses TSockAddr), or even TBuf (actual methods use TDes/C references).

  5. #5
    Registered User GFYsweetwood's Avatar
    Join Date
    Oct 2008
    Posts
    229
    Quote Originally Posted by wizard_hu_ View Post
    Well, if an actual class is apparently not used by anyone, you can always check if its parent happens to be accepted somewhere... The situation does not differ much from TInetAddr (RSocket uses TSockAddr), or even TBuf (actual methods use TDes/C references).
    Dear wizard_hu_, thank you very much! You give me a great idea!

Similar Threads

  1. Decompress then save again as contact to phone book, it is possible?
    By bytescode in forum Mobile Java Tools & SDKs
    Replies: 8
    Last Post: 2009-08-31, 16:04
  2. Error loading connection when obfuscation high?
    By ejakkk in forum Mobile Java General
    Replies: 8
    Last Post: 2009-06-26, 12:54
  3. [moved] help me for some issues in DLL
    By sean_bean in forum Symbian C++
    Replies: 0
    Last Post: 2009-03-05, 10:27
  4. External Linking Error (Undefined Symbol)
    By nile_mail in forum Symbian C++
    Replies: 2
    Last Post: 2008-08-05, 13:10
  5. Exceptions while loading application
    By avinash_rs in forum Mobile Java General
    Replies: 0
    Last Post: 2003-06-09, 10:53

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved