[Interest] sqlite

Bo Thorsen bo at vikingsoft.eu
Fri Apr 17 13:48:24 CEST 2015


On 04/17/2015 10:25 AM, Graham Labdon wrote:
> Hi
> My application makes use of an sqlite database that needs to be shared amongst
> multiple instantiations of the application.
> Can  anyone please suggest how I can implement this such that if one
> instantiation of the application updates the database then any other
> instantiations that are running get notified.

You can't do this. There is no mechanism in sqlite to notify other 
applications that something has changed. You are going to have to 
implement an IPC system for this.

Bo Thorsen,
Director, Viking Software.

-- 
Viking Software
Qt and C++ developers for hire
http://www.vikingsoft.eu



More information about the Interest mailing list