[sqlite] Version 3.52 text columns problem

2007-11-13 Thread Jacek Oleksy
Hi All, I have following problem: I'm using VC++6.0. I want to perform a select query on a single database table. What I do is: 1. prepare the statement using sqlite3_prepare_v2 2. step through the results using sqlite3_step No other process or thread is accessing the database at the time.

[sqlite] Sqlite 3.6.0 across dll

2008-07-25 Thread Jacek Oleksy
Hello, I'm using VC++.NET 2003 & Windows XP SP2. I have following problem with version 3.6.0: sqlite configuration is being hold in a global variable sqlite3Config. My application uses a dll, which initializes sqlite database. Dll's copy of the sqlite3Config variable is initialized properly and

Re: [sqlite] Sqlite 3.6.0 across dll

2008-07-25 Thread Jacek Oleksy
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

Re: [sqlite] Sqlite 3.6.0 across dll

2008-07-25 Thread Jacek Oleksy
Jacek Oleksy wrote: > sqlite configuration is being hold in a global variable sqlite3Config. To be more specific: this variable is used by sqlite internally, it is defined in global.c. That's why I'm not sure what to do with it... J. ___ sqlite-us

Re: [sqlite] Sqlite 3.6.0 across dll

2008-07-25 Thread Jacek Oleksy
Igor Tandetnik wrote: > Is this DLL statically linked to SQLite, or itself uses sqlite3.dll? > This DLL is statically linked to SQLite. > > If you have several modules, each statically linked with SQLite, then > you have multiple copies of SQLite runtime in the same process. This is > a