Jump to content

3.3.8.0 SQLite problem


veronesi
 Share

Recommended Posts

Hi there

I just downloaded the 3.3.8.0, uninstalled all previous installed AutoIt Versions and installed the new 3.3.8.0!

Now I just have a problem using all SQLite commands.

The SQLite_Startup fails, because it can't find any DLL.

In the SQLite.dll.au3 there is no data for a DLL.

Am I missing something?

What do I have to do that I can use the SQLite commands again?

(Sorry for my bad english)

Thanks in advance

Veronesi

; -----------------------------------------

Edit: I added SQLite to the title so the right people will look at the topic. M23

Edited by Melba23
Title clarity
Link to comment
Share on other sites

IIRC there was a discussion about SQLite and 3.3.8.0. You have to download SQLite yourself.

I will post the link as soon as I find the thread.

Edit:

Edited by water

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

No use the 32-bit version (sqlite3.dll) for x86 builds, the 64-bit version (sqlite3_x64.dll) for x64 builds.

You can download the up-to-date DLLs from the AutoIt download directory for SQLite.

Edit:

There are currently two SQLite DLL releases in the repository. One is v3.7.2 without FTS and RTREE support compiled. The other is the latest 3.7.9 with both FTS and RTEE support. The files without an explicit version number are copies of this latest version (now 3.7.9).

For those who wonder which SQLite version to download and use, here's what I recommend: get the copies without version number, they are up-to-date and include these useful extensions.

Download only once the 32- and/or 64-bit DLL depending on your intention to use x86 and/or x64 and store it/them in a fixed place.

Then pass the DLL name to _SQLite_Startup and set ForceLocal to 1. That will make you sure that you use the right DLL and also will prevent any downloading of the obsolete and less complete 3.7.2 version. The reason is that the automated download targets v3.7.2 file(s) instead of the copy without version string.

That should work (I don't have the possibility to test it right now).

FileInstall the DLL if you need to distribute the application to avoid loading the repository.

Edited by jchd

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Link to comment
Share on other sites

I've just edited my post above while you replied!

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Link to comment
Share on other sites

  • 2 weeks later...

I had this problem :

C:\Program Files (x86)\AutoIt3\Beta\Includesqlite.au3(2,13) : ERROR: missing separator character after keyword.

#IgnoreFunc __SQLite_Inline_Version

in a old program when i tried to compile with V 3.3.8 .

But the only way I resolved is to move the #include <SQLite.au3> in the first position among my includes:

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=Iconeairelemental.ico
#AutoIt3Wrapper_UseX64=n
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
; aRIA  -> a.dvanced R.apporto I.nterventi A.genti
#include <SQLite.au3>   ; this include and..
#include <SQLite.dll.au3>  ; and this moved here from version 3.3.8
;include da Koda
#include <ButtonConstants.au3>
#include <ComboConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <GuiListView.au3>
;include da NSC
;#include <SQLite.au3>   ; this include and..
;#include <SQLite.dll.au3>  ; and this moved UP from version 3.3.8
#include <date.au3>
#include <GuiTab.au3>
#include <Google Maps.au3>
#include <INet.au3>
#include <DateTimeConstants.au3>
#include <_SQL.au3>   ; lo uso per la prima volta nella funzione importautenti()
#include <GuiDateTimePicker.au3> ;uso anche le ore/minuti negli interventi

why ? why? why?

Link to comment
Share on other sites

The SQLite UDF is not the culprit here.

The issue is with ExitLoop at line 7112 of GuiListView. Due to a bug already reported (#2073) you need to insert any dummy instruction there.

For instance, insert "Local $Dummy" at line 7113 of GuiListView.au3

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

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

×
×
  • Create New...