×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    229

    Talking How to use the "TCommDbMultiConnPref" class?

    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 Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,144

    Re: How to use the "TCommDbMultiConnPref" class?


  3. #3
    Registered User
    Join Date
    Oct 2008
    Posts
    229

    Talking Re: How to use the "TCommDbMultiConnPref" class?

    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
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: How to use the "TCommDbMultiConnPref" class?

    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
    Join Date
    Oct 2008
    Posts
    229

    Talking Re: How to use the "TCommDbMultiConnPref" class?

    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
    Replies: 0
    Last Post: 2009-03-05, 10:27
  4. External Linking Error (Undefined Symbol)
    By nile_mail in forum Symbian
    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
  •