samedi 13 février 2016

Visual Studio sqlite3_prepare_v2 returns null for statement

i encountered a weird behaviour from VS2013 (professional) running my c++ code.

Problem : Running my code via Visual Studio Launcher, prepare_v2 function returns null for statement (but the error code is SQLITE_OK). However launching from the exe via Windows Explorer works as intended.

Since it works from the executable i assume db-,table- and column names are correct. Therefore its (imo) not a virtually created database (which may occur if db-name is empty (or wrong?)).

The database and sqlite-dll are copied to the output directory (prebuild event).

So i assume its something VS2013 intern? Anyone an idea?

I can provide further information if needed.

Thanks Terry

Aucun commentaire:

Enregistrer un commentaire