Jump to content

SQLite3.dll is loaded but the entry point DLLRegisterServer is not present - (Moved)

Recommended Posts

Hello Every one,

I AM a beginner in AutoIT . After study differents languages such as Ruby, C and Ada95 . I found this language very interesting.

Actually  i am learning how to write efficient scrpits using DB system.

SO i have started a tutorial.

Here is the code source

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

_SQLite_Startup(@ScriptDir & "\Config\sqlite3_x64.dll", False, 1)
If @error Then
    MsgBox($MB_SYSTEMMODAL, "SQLite Error", "SQLite3.dll Can't be Loaded!")
    Exit -1
    MsgBox($MB_SYSTEMMODAL, "SQLite Error", "SQLite3.dll is present")
    Exit 0
ConsoleWrite("_SQLite_LibVersion=" & _SQLite_LibVersion() & @CRLF)


When i lauch it i got this error saying that Sqlite3.dll can't be loaded.

Therefore i went to see if there are posts about this issue.

I found out what i have to do:


1-  Download a Sqlite3.dll 64 bits file then

2- If i am using x64 bits system i have to copy and paste the file in c:\Windows\system32

3- If i am using x32 bits system i have to copy and paste the file in c:\Windows\sysWOW64


4- Reboot my device


5- Launch the script again but i got the same result.

6- So i went back to net , someone said that if the first settigns don't work .


I have to :

1- open Cmd as administrator

2- for 64 bits : regsvr32 "filename.dll"

Then i have this message. 


Pls check out the attached file.


Thank you for your help.


Link to comment
Share on other sites

  • Moderators

Moved to the appropriate forum, as the AutoIt Example Scripts forum very clearly states:


Share your cool AutoIt scripts, UDFs and applications with others.

Do not post general support questions here, instead use the AutoIt Help and Support forums.

Moderation Team

Edited by JLogan3o13

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Follow those steps and it will work.

1- Delete all sqlite3.dll from Windows subfolders (to avoid conflict)

2- Download both x86 and x64 Windows binaries into your Download folder (from https://www.sqlite.org/download.html)

3- Extract into Download folder from x86 zip file sqlite3.dll. Copy it to your script folder.

4- Extract into Download folder from x64 zip file sqlite3.dll.  Rename it sqlite3_x64.dll.  Copy it to your script folder.

5- Use _SQLite_Startup("sqlite3.dll", False, 1) in your script (for both x86 and x64)


Edited by Nine
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

  • Recently Browsing   0 members

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