Re: Using SQLite with Euphoria 4.x

new topic     » goto parent     » topic index » view thread      » older message » newer message
ChrisB said...

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.

I had already made that change (I actually changed the value of SQLITE3_WIN_LIB_VER) and it still didn't work for me. However, adding your code above makes it work now! ::confused::

Now I can get on with it! Thank you! :)

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu