Re: Using SQLite with Euphoria 4.x
- Posted by ChrisB (moderator) Oct 17, 2010
- 1471 views
Forked from Re: Database Battle to the Death
I'm needing a light weight yet robust database
Chris, I can't get your wrapper demos to work on Windows 7 with the 3.3.6 dll you provide at your web site. I wonder if it could be a permissions issue. It tells me, "Install sqlite3.dll, from ..." even though it's already there. I also put the dll in the directory where the demo file resides. Shouldn't it find it right there?
Also, the latest SQLite is 3.7.3. Would it be okay for me to use that version with your wrapper?
Hit me up here or via email... please. :)
Yes, it should find the sqlite3.dll, both locally, and in the system path. Since I don't use Win 7, I'm not sure I can answer you directly. Also, just replacing the dll supplied at wikispaces with a more current dll should work absolutely fine, if its called sqlite3.dll, you won't need to mod the wrapper.
I'll look into it, in the mean time, try
--************************************************* -- load library and define function calls --************************************************* integer fp fp = open(SQLITE3_WIN_LIB_VER, "r") if fp < 0 then abort(0) end if close(fp)
in the sqlite3 wrapper. Incidentally, you are using the sqlite3 wrapper, and not the sqlite wrapper, which is for sqlite 2.xx aren't you?
Chris