EmaBepi

SQLite

10 posts in this topic

IT: ciao, come faccio ad usare Sqlite.dll?

ENG: hi, how I can use Sqlite.dll?

Share this post


Link to post
Share on other sites



@EmaBepi you have to provide more information than that. The help file has a number of examples on "using" SQLite. What, exactly are you trying to do, and what problems are you running into?


When you're dead, you don't know you're dead - it's only difficult for those that know you. It's the same way when you're stupid...

My Scripts: SCCM UDFInclude Source with Compiled Script, Windows Firewall UDF

Share this post


Link to post
Share on other sites
<div id="inner-editor"></div>
 
 
 
hi, I have the SQLite.dll files, but do not know where to put it to perform the function call, so do not know what path to go.

Share this post


Link to post
Share on other sites

Your code should be like this:

#include <sqlite.au3>
; do NOT use #include <sqlite.dll.au3>

_SQLite_Startup("put_here_the_full_path_to\sqlite3.dll")
If @error Then Exit MsgBox(17, 'Startup Error', '@ERROR = ' & @error & @CRLF & '@EXTENDED = ' & @extended)

Local $hDB = _SQLite_Open()    ; for a memory DB or _SQLite_Open("myDB.sq3") for a disk-based DB
If @error Then Exit MsgBox(17, 'DB open failed', '@ERROR = ' & @error & @CRLF & '@EXTENDED = ' & @extended)

; your actual code where you use the DB

_SQLite_Close($hDB)
_SQLite_Shutdown()

If you have a specific use case or have any question about SQLite, just ask.

 

1 person likes this

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)

Share this post


Link to post
Share on other sites

#5 ·  Posted

Thank you so much! now I try it...

Share this post


Link to post
Share on other sites

#6 ·  Posted

it works, thanks again! perhaps it was not enough to put the "#include <sqlite.dll.au3>"... but now my program works, Thank you so much!

Share this post


Link to post
Share on other sites

#7 ·  Posted

Good. Should you have any question about SQLite possibilities, design and DB schema, extensions, general SQLite use, don't hesitate to chime.


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)

Share this post


Link to post
Share on other sites

#8 ·  Posted

8 hours ago, EmaBepi said:
Thank you so much! now I try it...

 

23 hours ago, EmaBepi said:
<div id="inner-editor"></div>
 
 
 
 
hi, I have the SQLite.dll files, but do not know where to put it to perform the function call, so do not know what path to go.

Can you please tell me how you made that kind of boxes? :blink:


Spoiler

My contributions to the AutoIt Community

Some messages & Apologizes:

If I hurt you, Please accept my apologies, I never (regardless of the situation) mean to hurt anybody!!!

Also, I am very busy with my project so I will appear in the last row of the online list, if you want to contact me: Email@TheDcoder.xyz

Or you can have a nice chat with me in freenode, I use the same nick on freenode too!

3fHNZJ.gif

PLEASE JOIN ##AutoIt AND HELP THE IRC AUTOIT COMMUNITY!

Share this post


Link to post
Share on other sites

#9 ·  Posted

since I use google translator, some times in the copy of the text in English it also takes the html code that contains the translation in the box

1 person likes this

Share this post


Link to post
Share on other sites

#10 ·  Posted

I understand now...


Spoiler

My contributions to the AutoIt Community

Some messages & Apologizes:

If I hurt you, Please accept my apologies, I never (regardless of the situation) mean to hurt anybody!!!

Also, I am very busy with my project so I will appear in the last row of the online list, if you want to contact me: Email@TheDcoder.xyz

Or you can have a nice chat with me in freenode, I use the same nick on freenode too!

3fHNZJ.gif

PLEASE JOIN ##AutoIt AND HELP THE IRC AUTOIT COMMUNITY!

Share this post


Link to post
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