Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User bakakaba's Avatar
    Join Date
    Aug 2005
    Location
    Paris
    Posts
    9
    Hi,

    I want to run the following code and always have a KERN-EXEC 3 panic
    iRecipientNumber = aRecipientNumber;
    with iRecipientNumber is a const TDesC& and iRecipientNumber is a TBuf<15>

    Thanks a lot for letting me know what the problem is, pleasssseee

    Dinh Tran

  2. #2
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,664
    you could try using the function defined for TBuf class, for example Copy(), also I home you had a typo with your post, since if the iRecipientNumber is const TDesC variable, you can not change it.

    yucca

  3. #3
    Regular Contributor hungpham90's Avatar
    Join Date
    Oct 2011
    Location
    Hai Phong City - Vietname
    Posts
    52
    Quote Originally Posted by symbianyucca View Post
    you could try using the function defined for TBuf class, for example Copy(), also I home you had a typo with your post, since if the iRecipientNumber is const TDesC variable, you can not change it.

    yucca
    Hey this is my problem, but i can't fix it! I tried iRecipientNumber.Copy(aRecipientNumber); but i still didn't word! This code is in SendL function of this example : http://www.developer.nokia.com/Commu..._Edition_-_MTM

  4. #4
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,664
    Quote Originally Posted by hungpham90 View Post
    Hey this is my problem, but i can't fix it! I tried iRecipientNumber.Copy(aRecipientNumber); but i still didn't word! This code is in SendL function of this example : http://www.developer.nokia.com/Commu..._Edition_-_MTM
    iRecipientNumber.Copy(aRecipientNumber); will not give KERN-EXEC-3, thus please do check what teh actual problem is, and then do make your own thread for it.

  5. #5
    Regular Contributor hungpham90's Avatar
    Join Date
    Oct 2011
    Location
    Hai Phong City - Vietname
    Posts
    52
    Quote Originally Posted by symbianyucca View Post
    iRecipientNumber.Copy(aRecipientNumber); will not give KERN-EXEC-3, thus please do check what teh actual problem is, and then do make your own thread for it.
    yes, iRecipientNumber.Copy(aRecipientNumber); will not give KERN-EXEC-3 but then my program is suspended! So i don't know which error it got?

  6. #6
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,664
    Quote Originally Posted by hungpham90 View Post
    yes, iRecipientNumber.Copy(aRecipientNumber); will not give KERN-EXEC-3 but then my program is suspended! So i don't know which error it got?
    Then please do not Hijack other thread with unrelated follow ups. Instead do debug your application, find out what happens, and open a new thread for it.

  7. #7
    Regular Contributor hungpham90's Avatar
    Join Date
    Oct 2011
    Location
    Hai Phong City - Vietname
    Posts
    52
    Quote Originally Posted by symbianyucca View Post
    Then please do not Hijack other thread with unrelated follow ups. Instead do debug your application, find out what happens, and open a new thread for it.
    I do debug my application then when I jump over iRecipientNumber.Copy(aRecipientNumber); it is suspend !

  8. #8
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,664
    Quote Originally Posted by hungpham90 View Post
    I do debug my application then when I jump over iRecipientNumber.Copy(aRecipientNumber); it is suspend !
    please open a new thread, you are not supposed to hijack other threads for unrelated problems. And it is do descripe your problem in more details.

  9. #9
    Regular Contributor hungpham90's Avatar
    Join Date
    Oct 2011
    Location
    Hai Phong City - Vietname
    Posts
    52
    Quote Originally Posted by symbianyucca View Post
    please open a new thread, you are not supposed to hijack other threads for unrelated problems. And it is do descripe your problem in more details.
    Oh I know! Thanks a lot

Similar Threads

  1. XMl Parser Implementation for Symbian
    By ittiam in forum Symbian C++
    Replies: 26
    Last Post: 2009-09-16, 05:26
  2. problem with Code Warrior 5.2
    By mayankkedia in forum Symbian C++
    Replies: 4
    Last Post: 2006-06-22, 08:26
  3. code warrior problems
    By mayankkedia in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2004-10-25, 06:59
  4. problem with codewarrior 5.2
    By mayankkedia in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2004-09-27, 16:08
  5. Cannot compile SDK's examples for 7650 platform...
    By midletsoft in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2003-08-12, 19:11

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