<div dir="ltr">I think the issue was a 32 vs 64-bit mismatch.  My sqlite3.dll is a 64-bit library.<div><br></div><div>I just downloaded the 32-bit version of sqlite3.dll and CFFI did link to it (did not issue any errors).  I will continue with testing.<div><br></div><div>My reading of java -version implies that my java is 32-bit:</div><div><br></div><div><div>> java.exe" -version</div><div>java version "1.7.0_51"</div><div>Java(TM) SE Runtime Environment (build 1.7.0_51-b13)</div><div>Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)</div><div><br></div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Apr 24, 2017 at 6:24 AM Luís Oliveira <<a href="mailto:luismbo@gmail.com">luismbo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Mirko,<br>
<br>
On Mon, Apr 24, 2017 at 4:05 AM, Mirko Vukovic <<a href="mailto:mirko.vukovic@gmail.com" target="_blank">mirko.vukovic@gmail.com</a>> wrote:<br>
>   Unable to load library 'C:/Program Files/sqlite/sqlite3.dll': Native<br>
> library (win32-x86/C:/Program Files/sqlite/sqlite3.dll) not found in<br>
> resource path ([file:/C:/mv-program-files/abcl-bin-1.4.0/,<br>
> file:/C:/mv-program-files/abcl-bin-1.4.0/abcl.jar])<br>
<br>
Kind of looks like "C:/Program Files/sqlite/sqlite3.dll" is being<br>
interpreted as the library name rather than a path. I have a couple of<br>
random, independent ideas:<br>
<br>
1. Replace forward slashes with backward slashes: "C:\\Program<br>
Files\\sqlite\\sqlite3.dll".<br>
2. Place the DLL (and its dependencies) somewhere in the PATH and try<br>
(cffi:load-foreign-library "sqlite3.dll")<br>
3. <<a href="http://stackoverflow.com/questions/25063614/jna-set-resource-path" rel="noreferrer" target="_blank">http://stackoverflow.com/questions/25063614/jna-set-resource-path</a>><br>
<br>
Hope that helps,<br>
<br>
--<br>
Luís Oliveira<br>
<a href="http://kerno.org/~luis/" rel="noreferrer" target="_blank">http://kerno.org/~luis/</a><br>
</blockquote></div>