×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2008
    Posts
    21

    Unhappy Problem accessing virtual drive in emulator

    Hi,

    I added a line in my epoc.ini to enable access to a E drive in emulator.

    Code:
    _EPOC_DRIVE_E \Symbian\8.0a\S60_2nd_FP2\epoc32\wins\e
    This worked in general since I'm able to browse my directory using the build-in tool in "Tools" > "Memmory Card".
    The emulator also created all these default directorys in there. But in my own App I'm unable to get access to this virtual drive.
    CheckDisk() always returns KErrNotSupported. Without CheckDisk() I get "CommonDialog 7" Panic. The same code works perfectly on my device.

    Am I doing something wrong?

    SDK is S60 2nd Ed. FP2 for Symbian 8.0a

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,570

    Re: Problem accessing virtual drive in emulator

    The name "CommonDialog" does not sound as a piece of code of yours. Although it is not nice, it may still happen that the file selection, etc. dialogs in the emulator do not support the memory card.
    What happens if you simply write
    Code:
    RFs fs;
    fs.Connect();
    fs.MkDir(_L("e:\\Wizard\\"));
    fs.Close();
    ?

  3. #3
    Registered User
    Join Date
    Aug 2008
    Posts
    21

    Re: Problem accessing virtual drive in emulator

    The code you posted works and the directory is created.

    So there is no solution to this?

    -EDIT-
    I tryed to use the preprocessor to use drive Z when running in Emulator but this does also not work. CheckDisk returns KErrNotSupported and I get a 'Common Dialog 7' Panic when running the file selection dialog.
    Last edited by MNE; 2009-05-06 at 09:08.

Similar Threads

  1. CPbkContactEditorDlg customize
    By asdfghjkl_asdfghjkl in forum Symbian
    Replies: 5
    Last Post: 2008-08-05, 02:56
  2. Problem in testing HTTP connection on emulator
    By nitinmajithia in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2006-09-29, 13:04
  3. Series 60 Emulator Problem HTTPPost
    By brett_boswell@hotmail.com in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2003-09-09, 13:59
  4. Web services on Series 60 emulator problem
    By paulgrimwood in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2003-08-05, 10:05

Posting Permissions

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