Re: Using SQLite with Euphoria 4.x
- Posted by ChrisB (moderator) Oct 19, 2010
- 1262 views
Hi
Solved!
in windows, eusqlite3.ew wrapper is looking for
SQLITE3_WIN_LIB_VER = "sqlite-3.3.6.dll"
whereas the dll installed is sqlite3.dll
so do down, and replace the loading the dll in windows section with
else sqlite3_dll = open_dll(SQLITE3_WIN_LIB_VER) if sqlite3_dll = NULL then --try this sqlite3_dll = open_dll("sqlite3.dll") if sqlite3_dll = NULL then --still! puts(1, "Install sqlite3.dll, from www.sqlite.org, into windows\\system32\n") abort(0) end if end if end if
Just make sure that whatever WIndows dll you use is called sqlite3.dll
I'll update the wikispaces repository with the corrected wrapper. Thanks.
Chris