×

Discussion Board

Results 1 to 4 of 4

Hybrid View

  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    38

    error encountered when CreatePrivatePath()

    Hi,

    What could the possible reasons that I encounter an error when i execute "iFsSession.CreatePrivatePath(EDriveC);" on my device?

    It is working okay on my emulator.

    Btw, I am unable to perform on-device debugging, thus I inserted a LeaveIfError code, and it indeed closes my application but I am unable to find out the exact error code.

    Is there some way for me to log this down? I'm new to symbian. But most importantly, why is it that I can't create a private path?

    Thanks.

  2. #2
    Registered User
    Join Date
    Nov 2007
    Posts
    444

    Re: error encountered when CreatePrivatePath()

    Hi,

    By using steps given in the follow link, you will be able to get the panic code on device.
    http://wiki.forum.nokia.com/index.ph...ded_panic_code

    Also, you can get the error causing line by debugging or putting appropriate logs.

    Regards,
    Kavit.

  3. #3
    Registered User
    Join Date
    Dec 2005
    Posts
    1,236

    Re: error encountered when CreatePrivatePath()

    Hi,

    You could first fetch the error sth like this
    TInt error = iFsSession.CreatePrivatePath(EDriveC);
    and then log the error if you donot know how to log try searching RFileLogger in http://wiki.forum.nokia.com then call

    User::LeaveIfError( error );

    Thus you will know what the error is.
    Regards,
    Sriky

  4. #4
    Registered User
    Join Date
    Jul 2008
    Posts
    38

    Re: error encountered when CreatePrivatePath()

    Hi,

    thank all for your replies. ^^

    Now, I have some headstart in my debugging using the logger. =)

Posting Permissions

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