Discussion Board

Results 1 to 12 of 12
  1. #1
    Regular Contributor masoud_bayat's Avatar
    Join Date
    Aug 2008
    Location
    Zanjan
    Posts
    183
    Hi all
    we need to understand how we can create a virtual drive in emulator.
    we use s60_fp23 emulator.
    this is our epoc.ini file:
    configuration epoc_176x208.ini
    configuration epoc_240x320.ini
    configuration epoc_352x416.ini
    _EPOC_DRIVE_E C:\temp
    only we added to epoc.ini red line.
    but this error arised up.
    C:\symbian\8.1a\S60_2nd_FP3\Epoc32\Data\Epoc.ini contains errors.
    the only entries valid in a master ini file containing one or
    more "Configuration" entries are blank lines and comments starting with #

  2. #2
    Registered User bdonegan's Avatar
    Join Date
    Dec 2006
    Location
    London
    Posts
    41
    Well the error is self explanatory isn't it? It's saying that since your epoc.ini contains configuration entries, you can't have normal entries in there two. You will need to create another configuration (say call it drives.ini) and put the _EPOC_DRIVE_E in there. Then add the line 'configuration drives.ini' to your epoc.ini

    That should do the trick.

  3. #3
    Nokia Developer Moderator ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    The error message is quite explicit, isn't it. Move your drive definition statement to one of the specific configuration files, e.g. epoc_176x208.ini

    Btw, may find that the E: drive is already defined.
    Last edited by ltomuta; 2008-11-15 at 15:04. Reason: Typo

  4. #4
    Nokia Developer Champion qxiaoyuan's Avatar
    Join Date
    Jul 2007
    Location
    ShenZhen, China
    Posts
    4,346
    with create a virtual drive, u need 2 step.

    1. update C:\Symbian\8.0a\S60_2nd_FP2_CW\Epoc32\Data\epoc.ini,
    like

    _EPOC_DRIVE_D \Symbian\8.0a\S60_2nd_FP2_CW\epoc32\winscw\d


    add

    _EPOC_DRIVE_E \Symbian\8.0a\S60_2nd_FP2_CW\epoc32\winscw\e

    2. mkdir \Symbian\8.0a\S60_2nd_FP2_CW\epoc32\winscw\e
    ----------------------------
    坚持学习, 坚持编码
    http://www.devdiv.net/
    qxiaoyuan

  5. #5
    Regular Contributor masoud_bayat's Avatar
    Join Date
    Aug 2008
    Location
    Zanjan
    Posts
    183
    Thanks all for quik reply
    Dear itomuta
    we do it.
    but emulator can't work and is stoped.

  6. #6
    Regular Contributor masoud_bayat's Avatar
    Join Date
    Aug 2008
    Location
    Zanjan
    Posts
    183
    Dear qxiaoyuan
    we do it too.
    but pervios error repeated.

  7. #7
    Nokia Developer Champion qxiaoyuan's Avatar
    Join Date
    Jul 2007
    Location
    ShenZhen, China
    Posts
    4,346
    could you show your epoc.ini.

    on s60 fp22, I verify that it is work.
    ----------------------------
    坚持学习, 坚持编码
    http://www.devdiv.net/
    qxiaoyuan

  8. #8
    Regular Contributor masoud_bayat's Avatar
    Join Date
    Aug 2008
    Location
    Zanjan
    Posts
    183
    Hi qxiaoyuan
    this is our epoc.ini
    configuration epoc_176x208.ini
    configuration epoc_240x320.ini
    configuration epoc_352x416.ini
    _EPOC_DRIVE_E \Symbian\8.1a\S60_2nd_FP3\epoc32\winscw\e
    we mkdir \Symbian\8.1a\S60_2nd_FP3\epoc32\winscw\e

  9. #9
    Nokia Developer Champion qxiaoyuan's Avatar
    Join Date
    Jul 2007
    Location
    ShenZhen, China
    Posts
    4,346
    you' d better move this line in epoc_176x208.ini.
    and try again.

    just notify,
    _EPOC_DRIVE_E \Symbian\8.1a\S60_2nd_FP3\epoc32\winscw\e

    follow by

    _EPOC_DRIVE_D \Symbian\8.0a\S60_2nd_FP2_SC\epoc32\wins\d
    _EPOC_DRIVE_E \Symbian\8.1a\S60_2nd_FP3\epoc32\winscw\e
    ----------------------------
    坚持学习, 坚持编码
    http://www.devdiv.net/
    qxiaoyuan

  10. #10
    Regular Contributor masoud_bayat's Avatar
    Join Date
    Aug 2008
    Location
    Zanjan
    Posts
    183
    Dear qxiaoyuan
    we modified epoc_176x208.ini
    in this face :
    _EPOC_DRIVE_D \epoc32\wins\d
    _EPOC_DRIVE_E \Symbian\8.1a\S60_2nd_FP3\epoc32\winscw\e
    _EPOC_LocDrv_1 E:
    but emulator stoped and can not loaded.

  11. #11
    Nokia Developer Champion qxiaoyuan's Avatar
    Join Date
    Jul 2007
    Location
    ShenZhen, China
    Posts
    4,346
    update

    _EPOC_DRIVE_D \epoc32\wins\d
    _EPOC_DRIVE_E \Symbian\8.1a\S60_2nd_FP3\epoc32\winscw\e
    _EPOC_LocDrv_1 E:


    to

    _EPOC_DRIVE_D \epoc32\wins\d
    _EPOC_DRIVE_E \Symbian\8.1a\S60_2nd_FP3\epoc32\winscw\e
    ----------------------------
    坚持学习, 坚持编码
    http://www.devdiv.net/
    qxiaoyuan

  12. #12
    Regular Contributor masoud_bayat's Avatar
    Join Date
    Aug 2008
    Location
    Zanjan
    Posts
    183
    Quote Originally Posted by qxiaoyuan View Post
    update

    _EPOC_DRIVE_D \epoc32\wins\d
    _EPOC_DRIVE_E \Symbian\8.1a\S60_2nd_FP3\epoc32\winscw\e
    _EPOC_LocDrv_1 E:


    to

    _EPOC_DRIVE_D \epoc32\wins\d
    _EPOC_DRIVE_E \Symbian\8.1a\S60_2nd_FP3\epoc32\winscw\e
    we do it.
    but still the problem exist.

Similar Threads

  1. How to create low memory condition on emulator?
    By chirag_cel in forum Symbian C++
    Replies: 1
    Last Post: 2007-12-31, 13:22
  2. Replies: 3
    Last Post: 2007-12-03, 14:43
  3. add virtual key on second display in emulator
    By caixiaowei586 in forum Symbian C++
    Replies: 0
    Last Post: 2006-08-03, 08:34
  4. Could not create the Java virtual machine???
    By jackychu in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2002-06-23, 23:42
  5. How to active the virtual key on 7650 emulator
    By sphinxgao in forum Symbian C++
    Replies: 0
    Last Post: 1970-01-01, 02:00

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