sqlite-users  

Re: [sqlite] Sqlite 3.6.0 across dll

Jacek Oleksy
Fri, 25 Jul 2008 04:03:39 -0700

By 'module' I mean any dll loaded by the application or the application 
itself. I know the data is not shared, hence my question: can I use one 
database connection (one sqlite3 pointer) in multiple modules?

Regards,
Jacek

Roberto pisze:
> You need to clarify what you mean by 'module'. Data is not shared in
> DLL's (sperate memory space and all that..), each calling application
> will need their own copy of data initialized by a shared library. If
> you have a global variable in a dll and need to share this data across
> multiple processes, then you need to look into memory mapped files.

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users