SQLIte & create table w/o rowid
Posted: Wed Mar 29, 2023 9:09 pm
This code, when using the DLL generates a memory error at program end (after all code, so on dll unload?) (specifically using WITHOUT ROWID)
Any idea why using the DLL generates a memory error at program end?
pb 6.01x64, win10
Code: Select all
UseSQLiteDatabase();"c:\temp\sqlite3.dll")
Debug OpenDatabase(0, ":memory:","","")
; not using the dll, this line works
; using the dll, it generates a memory error at program end
Debug "Create? "+Str(DatabaseUpdate(0, "CREATE TABLE IncomingData(test TEXT primary key) WITHOUT ROWID;"))
Debug "Error? "+DatabaseError()
pb 6.01x64, win10