×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    44

    Data base of DBMS example

    Hello, and thanks for reading this....I´ve created my own project using the code of the DBMS example, the program compiles properly but when I try to emulate the program gives me errors of memory, and I think the problem is ought to the file personnel.db that I can´t find....can you help me, please?

  2. #2
    Registered User
    Join Date
    Jun 2003
    Location
    HongKong
    Posts
    63
    May u capture some code for me to read?
    I think i can help u !

  3. #3
    Registered User
    Join Date
    Jun 2003
    Posts
    15
    Hi, as the readme file of the sample states:

    This is a DBMS example application for Nokia Series 60 platform. In order to make it working for
    WINS, you have to create such a directory in the following place:

    \Symbian\6.1\Series60\Epoc32\Wins\c\system\apps\DBMSexample
    you need to create the directory manually for use with the emulator.
    On the phone this directory is created while installing the application with the .sis file, but on the emulator the app is stored in another directory, unless you install it with a .sis file too.


    So either create the directory manually, or put in some code into your application, that creates the directory if it is not present:

    Code:
    // create directory, if not present
    fsSession.MkDirAll( KKeyDatabasePath );

    Something else that is not considered in the example can be found here:
    http://discussion.forum.nokia.com/fo...threadid=14986

    Best regards,

    Martin

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    44
    Thanks for your help, I can execute the program into the emulator
    Miria

Posting Permissions

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