If the python DLL has been built against the version of Python supported in Lianja (which is 2.7 on windows) it works by just placing the DLL in the DLL directory.

You can verify this from the Python console.

import sqlite3

where sqlite3.dll exists in C:\lianja\scriptinglanguages\python\DLLs

If you exit Lianja and rename the sqllite3.dll to xxx_sqlite3.dll and then run Lianja again and do the same sequence of steps the DLL will not be found.

So...

The DLL must be a 32-bit DLL not a 64-bit version, and it must be compatible with Python 2.7.

See screenshots working and then not working by renaming the sqlite3.dll file.

Name:  Screen Shot 2016-01-07 at 3.57.22 PM.jpg
Views: 390
Size:  42.0 KB

Name:  Screen Shot 2016-01-07 at 3.55.17 PM.jpg
Views: 348
Size:  53.1 KB