On 12/22/15, Zeeshan Hussain <zeeshan.hussain at tcs.com> wrote: > Hi All, > > We are using SQLite - Shared Cache for this we want to open two connection > one from .Net and Another from C++ lib, both running in the same .Net > process. > > Problem: > It seems both the connections are using their own cache. even though we > have opened them using same URI.
Are you linking two separate versions of the SQLite library - one for System.Data.SQLite and the other for C++? > > Below is the URI > In .Net Code : "FullUri=file::memory:?cache=shared" > In C++ Code: "file::memory:?cache=shared" > > Additional Information: > SQLite Version - 3.9.2.0 > We have created lib for C++ using following command >lib /def:sqlite3.def > /out:sqlite3.lib > > Please suggest how to get this working. > > Thanks and regards > Zeeshan Hussain > Tata Consultancy Services > Cell:- +86 18721878170 > Mailto: zeeshan.hussain at tcs.com > Website: http://www.tcs.com > ____________________________________________ > Experience certainty. IT Services > Business Solutions > Consulting > ____________________________________________ > =====-----=====-----===== > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you > > > _______________________________________________ > sqlite-users mailing list > sqlite-users at mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp drh at sqlite.org