Hello to everyone,
I have a question... regarding multi-threading...
the question is for microsoft windows (a visual c++ application)... I saw the documentation
and I understood that for microsoft OS, the multi-threading is
enabled by default.
So, of course I start two threads, both of them make a loop into a "recordset".
the first thread it works good, but the second, no way. I made kind of research
in the documentation and I observed that I have to make new connections for each thread.
All donne. But when I run the application I got the same problem.
In the second thread the sqlite3_prepare function always return the 21 value
that means SQLITE_MISUSE, because sqlite3SafetyOn retun 1.
Can somebody tells me if there is a solution for that problem?
Thanks in advance
Cosmin