Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User ahmdsd_ostora's Avatar
    Join Date
    Dec 2008
    Posts
    40
    how should the file paths using standard C on Symbian platform be represented?

    This question arises from that I use the open source sqlite standard C library in my symbian application, and when I try to open a database using sqlite3_open API, it returns error code = 14, that means " Unable to open the database file"

    the API :
    Code:
    int sqlite3_open(
      const char *zFilename, 
      sqlite3 **ppDb 
    )
    the call I do:
    Code:
    	sqlite3 *db = NULL;
    	int result = sqlite3_open("C:\\data\\test.sqlite", &db);
    I get result = 14, unable to open database file

    any help?

  2. #2
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    Open C (and Symbian) uses backslashes, so that path seems to be fine. Consider checking the internals of that function, it is open source after all.

Similar Threads

  1. Does anybody have E52 standard themes in file?
    By Hale in forum Themes/Carbide.ui
    Replies: 3
    Last Post: 2009-08-28, 04:14
  2. file path in open-c
    By himsymbian in forum Open C/C++
    Replies: 6
    Last Post: 2008-06-25, 16:05
  3. Create file in Private Path
    By earendil in forum Symbian C++
    Replies: 4
    Last Post: 2007-06-19, 08:55
  4. creating file in application path
    By sunny_singh in forum Symbian C++
    Replies: 2
    Last Post: 2005-09-21, 11:21
  5. Standard APPS
    By nunomorais in forum Symbian C++
    Replies: 1
    Last Post: 2003-07-30, 12:15

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