Rdbs (database session or client-server database access) - Feature Not Supported
I cut and paste from the Symbian white paper for Database access:
The following code shows an example of how to open a database for client-server access.
2. User::LeaveIfError(database.Open(dbSession, KDatabaseName));
... //Use database
CleanupStack::Pop(); // database
CleanupStack::Pop(); // dbSession
At #2, I got a "Feature Not Supported" displayed in a popup in the emulator and on my phone.
Is Rdbs supported in Series 60?
Nokia Developer Expert
Dunno really, since I have always opened the database by using normal RFs like this:
In case you don't really need to share the db, you could use this method.
Thanks. Yes, I the FS way works for me, too. But, I wanted to try the RDbs way, because the Symbian white paper suggested that it was 'preferred', and I like the Client-Server concept.
I know this is very later reply to your query. Anyway it may be helpful for others.
First you need to create db with RDbNamedDatabase by using RFs. then close it.
After creation of DB, you can open the DB in Client/server mode(shared mode with RDbs) and client mode(exclusive mode with RFs).
Re: Rdbs (database session or client-server database access) - Feature Not Supported
Not late for me,You really do me a huge favor.
Originally Posted by sai_irfan
Thanks a lot！