Jump to content

W7 and SQLite _SQLite_QuerySingleRow


Recommended Posts

I just got a new laptop with Windows 7 64 bit and moving my Autoit projects from XP

I downloaded SQLite.au3 here and also got a new Beta

Still I get an error while using _SQLite_QuerySingleRow

error code is 21 - I belive it is "Library is used incorrectly"

WTF?! and how to fix it?

Link to comment
Share on other sites

Humm, hard to tell from where I live.

Wouldn't you by chance be mixing 64-bit AutoIt and 32-bit sqlite library?

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 just checked on Win7 64bit example script from 3.3.7.23 beta helpfile for _SQLite_QuerySingleRow() and it works fine on latest beta 3.3.7.23.

Post your small reproducing script to get more help.

Also check where is sqlite3.dll on your system and if it's "_x64".

EDIT: also try to use #AutoIt3Wrapper_UseX64=n

Edited by Zedna
Link to comment
Share on other sites

Also check where is sqlite3.dll on your system and if it's "_x64".

Yes I found one in Windows/system32 directory, did try to rename it and it re-copies itself again IS THIS HOW W7 BEHAVES?

sqlite3_x64.dll

Run beta agin

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

#IgnoreFunc __SQLite_Inline_Version

~~~~~~~~~~~~^

Edited by Broadcastic
Link to comment
Share on other sites

There must be something gone wrong in your installation.

Since the 3.3.8.0 release is now out, you should remove the beta then the old release and install v3.3.8.0. After those steps your install should be fine.

If you experience further problem, please post a small reproducer script (within AutoIt tags, the blue square icon) and also the whole content of the Scite console showing what happened. If the issue vanish, then say so.

I've asked a Mod to move this thread in the General Help forum where it belongs.

Edit: thread moved, thanks Jos.

Edit 2: also check

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

Yes, it worked. I uninstalled old and installed 3.3.8.0 release

Thank you!

btw when I was installing 3.3.8.0 it defaulted to Program files (x86) folder

while compiler was looking at Program files

'C:program' is not recognized as an internal or external command,

operable program or batch file.

Link to comment
Share on other sites

Glad to know you finally have it working.

Those pesky x64 details are annoying but I can't test x64 here.

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

Replied there.

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

  • Recently Browsing   0 members

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