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
Else
MsgBox($MB_SYSTEMMODAL, "SQLite Error", "SQLite3.dll is present")
Exit 0
EndIf
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
CORRECT ME IF I AM WRONG ?!
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.