Jump to content

SQLite3 on WIndows 10


Apzo
 Share

Recommended Posts

Hello

I tried to make working my old scripts on a new W10 system.
Something got wrong with all the sqlite3 scripts: SQLite3.dll cannot be found.

The given examples in AU3 help don't work. Gosh !

I tried to download the official dll from sqlite, register it and it doesn't work either.
register32.exe leads to an error while regitering the official DLL.

The AU3 wiki didn't helped.
https://www.autoitscript.com/wiki/User_Defined_Functions#Databases_and_web_connections

Any way to make it working again ?

Thanks for any reply.
 Apzo.

Link to comment
Share on other sites

  • 3 years later...
  • 3 weeks later...

My previous post is incomplete.

 

This is how I could use the sqlite lib :

You need to unzip the sqlite3.dll file in your working directory from http://www.sqlite.org/2016/sqlite-dll-win32-x86-3110100.zip

 

In your code :

Quote

#include <SQLite.au3>
#include <SQLite.dll.au3>

_SQLite_Startup("sqlite3.dll", false, 1) ; set the dll and tell to use this dll, not from the dll path (see the _SQLite_Startup help)

 

Your code may not run from the AutoIT IDE.
Right clic on the .au3 file and compile on x86 format.
Your application should work :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...