Hi all,

 

I try to use SQLite (sqlite3.dll)  in DotNet; this is my code :

 

            SQLiteClient db= new SQLiteClient("test.db");

            SQLiteResultSet results;

            results = db.Execute("create table Table1(one int primary
key, two varchar(10));");

            results = db.Execute("insert into Table1
values(1,'hello');");

            results = db.Execute("insert into Table1
values(2,'hello');");

            results = db.Execute("select * from Table1");

 

The problem was on the select statement because I have a crash with
sqlite3.dll or a "attempted to read or write protected memory exception"
with sqlite.dll.

 

I don't understant why.

 

Could someone help me please

 

Thanks in advance

 

 

 

Reply via email to