lundi 6 juillet 2015

Command window when executing a project with sqlite amalgamation

I try to use SQLite with c/c++ for Windows programming : - Code::Blocks - GCC 4.7.1 (I can upgrade if necessary)

I downloaded the amalgamation version and put it in my project. The project contains only a simple windowed application with an sqlite3_open command in the WM_CREATE message.

Build worked fine but the execution of the release output does nothing. The execution of the debug output gives a command window with the following text :

SQLite version 3.8.11 2015-07-02 18:16:02
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
sqlite>

I tried to delete the sqlite3 instruction in my code, but it seems the the only presence of the sqlite files in my project is the cause.

How can I do to override that ?

Thank you !!

Aucun commentaire:

Enregistrer un commentaire