I am using this http://www.phpguru.org/static/SQLite.NET.html
I have the "attempted to read or write protected memory" exception with this wrapper. If I try to define my own wrapper with sqlite3.dll it crashes on select statement. -----Message d'origine----- De : Robert Simpson [mailto:[EMAIL PROTECTED] Envoyé : mercredi 19 septembre 2007 17:00 À : sqlite-users@sqlite.org Objet : RE: [sqlite] SQLite.Net If you're using the Finisar library, it doesn't work with the later sqlite3 libraries. If you're using the PHP one, it hasn't been updated in almost 3 years so it probably has issues as well. Your best bet is to use the ADO.NET 2.0 provider at http://sqlite.phxsoftware.com Robert > -----Original Message----- > From: Michael Martin [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 19, 2007 7:42 AM > To: sqlite-users@sqlite.org > Subject: RE: [sqlite] SQLite.Net > > SQLite.NET.2.0.1 > > -----Message d'origine----- > De : Robert Simpson [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 19 septembre 2007 16:31 > À : sqlite-users@sqlite.org > Objet : RE: [sqlite] SQLite.Net > > What .NET wrapper are you using? > > > -----Original Message----- > > From: Michael Martin [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, September 19, 2007 7:13 AM > > To: sqlite-users@sqlite.org > > Subject: [sqlite] SQLite.Net > > > > 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 > > > > > > > > > > > > > > > > > > > > -------------------------------------------------------------- > --------------- > To unsubscribe, send email to [EMAIL PROTECTED] > -------------------------------------------------------------- > --------------- > > > -------------------------------------------------------------- > --------------- > To unsubscribe, send email to [EMAIL PROTECTED] > -------------------------------------------------------------- > --------------- > ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------