Discussion Board

Results 1 to 2 of 2

Thread: Share Database

Hybrid View

  1. #1
    Registered User
    Join Date
    Oct 2009

    Share Database


    Is there any way to share database in client/server application from server to client? I've found in SDK some reasonable function for RDBs called ShareProtected(): "Creates a session handle that can be be passed via IPC to another process as well as being shared by other threads in the current process". But I'm doubt what I've to do next and how can I use this function.
    Give me some advice please.

    Thanks in advance

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Oslo, Norway

    Re: Share Database

    If you check carefully, you will see that ShareProtected comes from RSessionBase. So you could share the RDbs session itself, which is not really a good idea.
    Databases you use via RDbs+RDbDatabase are inherently supporting shared access, so you can access them from multiple clients (since usage of RDbs makes you a client of the DBMS server). However because of the same reason (the database itself is handled by the DBMS server) the database file can not reside in your private folder.

Similar Threads

  1. NOkia s60 2nd edition chinese SDK with mimer database. CLDC 1.0 MIDP 2.0.
    By 86.coolguy@gmail.com in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2010-03-01, 05:59
  2. exe and application reading and writing database
    By raj8nokiaforum in forum Symbian
    Replies: 3
    Last Post: 2009-10-06, 10:42
  3. Application Closed! KERN-EXEC 0
    By smnsolomon in forum Symbian
    Replies: 3
    Last Post: 2008-04-20, 15:36
  4. database trouble
    By liafail in forum Symbian
    Replies: 6
    Last Post: 2005-12-28, 05:56
  5. database problem
    By sridhar_ratna in forum Symbian
    Replies: 1
    Last Post: 2003-04-18, 09:07

Posting Permissions

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