Lisp HUG Maillist Archive

clsql sqlite3 vs LWW

I'm delivering an LWW32 project that uses clsql and sqlite3.

The delivered .EXE works fine on my windows machine, but not on other 
(same) machines.

It complains about not being able to load a DLL.  It's not clear which 
DLL it is - clsql-uffi or sqlite3.

The strange part is that clsql does load clsql-uffi during *compile* 
time (quickload).

I'd be grateful for suggestions.

Thanks
pt

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html


Re: clsql sqlite3 vs LWW

Hi Paul,

I vaguely remember that I once had a similar problem.  (Haven't used
CLSQL or UFFI for years.)

I think the underlying problem is that UFFI uses REGISTER-MODULE with
:CONNECTION-STYLE :IMMEDIATE which doesn't play nicely with delivery.
If I'm right and that's the reason, the easiest fix would probably be
to patch this form in the UFFI sources to use the default connection
style (so that LispWorks won't already load the DLL _before_ the image
is written).

HTH,
Edi.





On Fri, Mar 6, 2015 at 11:27 PM, Paul Tarvydas <paultarvydas@gmail.com> wrote:
>
> I'm delivering an LWW32 project that uses clsql and sqlite3.
>
> The delivered .EXE works fine on my windows machine, but not on other (same)
> machines.
>
> It complains about not being able to load a DLL.  It's not clear which DLL
> it is - clsql-uffi or sqlite3.
>
> The strange part is that clsql does load clsql-uffi during *compile* time
> (quickload).
>
> I'd be grateful for suggestions.
>
> Thanks
> pt
>
> _______________________________________________
> Lisp Hug - the mailing list for LispWorks users
> lisp-hug@lispworks.com
> http://www.lispworks.com/support/lisp-hug.html
>

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html


Updated at: 2020-12-10 08:33 UTC