open_dll for sqlite3 seems not to work..
- Posted by jesito Mar 10, 2014
- 1696 views
Hi, I'm trying Euphoria 4.1 x86-64 and almost everything seems to run okay. However, when trying some programs that use sqlite3 with the eusqlite wrapper, the open_dll call for opening the sqlite3.dll always return '0'. I run Win7 Pro 64bit, and SQLite 3.8.4 I placed the .dll inside Windows\system32 (as usual in the past) The dll seems to work fine with the sqlite.exe program included. But when trying to open it from any Euphoria program, it looks like the .dll cannot be opened.
sqlite3_dll = open_dll("sqlite3.dll") if sqlite3_dll = NULL then puts(1, "Install sqlite3.dll, from www.sqlite.org, into windows\\system32\n") abort(0) end if
I also tried:
sqlite3_dll = open_dll("c:\\windows\\system32\\sqlite3.dll") if sqlite3_dll = NULL then puts(1, "Install sqlite3.dll, from www.sqlite.org, into windows\\system32\n") abort(0) end if
always goes thru the abort(0) branch. Any ideas?
Thanks in advance. Jes.