You are not showing your schema or the statement you are executing. Also, Sqlite3_StdCall.dll is not maintained by the Sqlite development team. Can you reproduce the error while executing your statement in the sqlite3 shell?
-----Ursprüngliche Nachricht----- Von: sqlite-users [mailto:sqlite-users-boun...@mailinglists.sqlite.org] Im Auftrag von Keith Hoar Gesendet: Dienstag, 10. April 2018 17:38 An: sqlite-users <sqlite-users@mailinglists.sqlite.org> Betreff: [EXTERNAL] [sqlite] Internal Logic Error While watching the value of Err.LastDllError, as soon as the single line in the function below is executed, the value becomes 2. According to my documentation, this value indicates an "Internal Logic Error". As this is a direct call to the SQLite DLL library, I am at loss as to the cause of the error. Can someone point me to the source/cause of the error and a way to correct it? Public Function SQLite3Step(ByVal stmtHandle As Long) As Long SQLite3Step = sqlite3_stdcall_step(stmtHandle) End Function ' From the SQLite StdCall Imports: Private Declare Function sqlite3_stdcall_step Lib "SQLite3_StdCall" Alias "_sqlite3_stdcall_step@4" (ByVal hStmt As Long) As Long The file - SQLIte3.dll is dated: 3/3/2016 5:39 PM The file - SQLite3_StdCall.dll is dated: 3/12/2016 8:28 PM Keith Hoar kah...@zhetosoft.com WWW.Zhetosoft.com _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users ___________________________________________ Gunter Hick | Software Engineer | Scientific Games International GmbH | Klitschgasse 2-4, A-1130 Vienna | FN 157284 a, HG Wien, DVR: 0430013 | (O) +43 1 80100 - 0 May be privileged. May be confidential. Please delete if not the addressee. _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users