#include Opt("Expandvarstrings", 1) $database = "test.db" ;_SQLite_Startup(Default, Default, Default, sqliteError) _SQLite_Startup() If @error Then MsgBox(0,"","1") Exit EndIf MsgBox(0,"","_SQLite_LibVersion=" & _SQLite_LibVersion()) Global $DB1 = _SQLite_Open($database, $SQLITE_OPEN_READWRITE + $SQLITE_OPEN_CREATE) If @error Then MsgBox(0,"","2") Exit EndIf _SQLite_Exec($DB1, "create table test (col1 int primary key)") If @error Then MsgBox(0,"","3") Exit EndIf