Hi, I have some nasty problems with DISQlite3 version 2.0.3 (Jan 31st, 2009). If I use pagesize on encrypted database, it fails (access violation). For example, code is like this: sqlite3_open_v2(fileName, @hdb, SQLITE_OPEN_READWRITE or SQLITE_OPEN_CREATE, nil); sqlite3_key(hdb, 'SOMEPASSWORD', strlen(''SOMEPASSWORD'')); sqlite3_exec_fast(hdb, 'pragma page_size=32768'); sqlite3_exec_fast(hdb, 'CREATE TABLE T1(id integer not null primary key, name varchar(50)'); sqlite3_exec_fast(hdb, 'CREATE TABLE T2(id integer not null primary key, name varchar(100)'); // Here access violation occurs Regards _____ Patrice Monroe Pustavrh Informatika http://www.gvin.com/Images/Spacer.gif Bisnode d.o.o. http://www.gvin.com/Images/bisnode-logo.gif Likozarjeva ulica 3 http://www.gvin.com/Images/Spacer.gif Tel.: +386 1 62 02 746 http://www.gvin.com/Images/Spacer.gif <mailto:patrice.monroe@xxxxxxxxxx> patrice.monroe@xxxxxxxxxx 1000 Ljubljana http://www.gvin.com/Images/Spacer.gif Fax: +386 1 62 02 708 http://www.gvin.com/Images/Spacer.gif <http://www.bisnode.si> www.bisnode.si