ptrex Posted February 24, 2007 Author Posted February 24, 2007 @gadzailOr you mean the new functionality in SQLite 3.3.13Yes I mean the functionality in the new DLL's. Because the UDF's written don't expose the new functionality automatically.Regarding using SQLite over a network and at the same time :The first part is not a problem. But accessing the DB simultaniously that's an other part. SQLite was not designed to work in a Client/Server environment.I might work but DB curruptions might occor.You can read more about this over here : http://www.sqlite.org/whentouse.htmlRead Situations Where Another RDBMS May Work BetterBut I know there is a paid version around that can handle the client/server situation.Regards,ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New
piccaso Posted February 24, 2007 Posted February 24, 2007 Yes I mean the functionality in the new DLL's. Because the UDF's written don't expose the new functionality automatically.it depends on what you mean...new functions like randomBlob() and Hex() do workbut there is a new prepare method i didnt see bevore.I have to read the manual first but i probably makes sence switching sqlite3_prepare_v2anything else (on the api side) i missed? CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map
ptrex Posted February 24, 2007 Author Posted February 24, 2007 @piccasoanything else (on the api side) i missed?Not that I know of.Good to hear from you again !!regardsptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New
leecole Posted March 5, 2007 Posted March 5, 2007 I have a real need for SQL functionality in AutoIt, and I have been reading this forum and trying to understand. I have a few questions?Quote from entry two:"the LiteX COM wrapper of http://republika.pl/roed/litex/Download the zip file extract and copy the DLLs to your c:\windows\system32 dir.Use the command regsvr32 sqlite3.dll. or REregister after an upgrade"Question one:If I write a program using $oDb = ObjCreate( "LiteX.LiteConnection" )It must first install and register sqlite3.dll? Is that the only dll that must be delivered and installed?Question two:If I compile my program using the latest beta, and write the program using the#include <SQLite.au3>and_SQLite_Startup()must my program still download, install, and register sqlite3.dll, or is this all taken care of?Just trying to understand exactly what is required. Talking Clockhttp://www.autoitscript.com/forum/index.php?showtopic=20751Talking Headlineshttp://www.autoitscript.com/forum/index.php?showtopic=20655Sometimes, I sits and thinkssometimes, I just sits
ptrex Posted March 5, 2007 Author Posted March 5, 2007 @leecole OK I understand the confursion. Because there are 2 ways of playing around with SQLite. One is the SQLiteX COM DLL which needs registering on each machine that uses it. The other one is the NATIVE SQLITE DLL that can be downloaded from the SQLite website. And the SQLite UDF #include <SQLite.au3> is distributed with the AUTOIT disctribution, see help file. The native SQLite3.dll is needed on each computer that runs your application. And NO this DLL does not require any registration, because it is not a COM DLL. You can access this DLL using the SQLite UDF natively. I hope that this gives you a directions to get you going. regards ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New
leecole Posted March 5, 2007 Posted March 5, 2007 @leecoleOK I understand the confursion. Because there are 2 ways of playing around with SQLite.One is the SQLiteX COM DLL which needs registering on each machine that uses it.The other one is the NATIVE SQLITE DLL that can be downloaded from the SQLite website.And the SQLite UDF #include <SQLite.au3> is distributed with the AUTOIT disctribution, see help file.The native SQLite3.dll is needed on each computer that runs your application. And NO this DLL does not require any registration, because it is not a COM DLL.You can access this DLL using the SQLite UDF natively.I hope that this gives you a directions to get you going.regardsptrexYes, that helps. So in either case, my application must:1) deliver a dll, or otherwise inform the user about where to obtain the dll and how to install it?The application will be used on other systems, and in playing around with SQL myself, I had lost track of what I installed, and why. So I wanted to understand the requirement's of either method.Thanks, and great work! Talking Clockhttp://www.autoitscript.com/forum/index.php?showtopic=20751Talking Headlineshttp://www.autoitscript.com/forum/index.php?showtopic=20655Sometimes, I sits and thinkssometimes, I just sits
ptrex Posted March 5, 2007 Author Posted March 5, 2007 (edited) @leecole one last tip : you can use fileInstall to include the DLL in your EXE distributable See helpfile for more info. FileInstall("C:\Temp\Sqlite3.dll", "c:\Windows\Sqlite3.dll") Success with your appl. ptrex Edited March 5, 2007 by ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New
piccaso Posted March 5, 2007 Posted March 5, 2007 (edited) sorry ptrex i have to correct you @leecole about you question two: #include <SQLite.au3> #include <SQLite.dll.au3> and you dont have to worry about the dll anymore the dll bundled with autoit is a bit out of date. if you want to build your own SQLite.dll.au3, there is a tool in the repository (see my sig) if you cant build it on your own pn me and i'll update the SQLite.dll.au3 in the repository Edited March 5, 2007 by piccaso CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map
leecole Posted March 6, 2007 Posted March 6, 2007 @leecole one last tip : you can use fileInstall to include the DLL in your EXE distributable See helpfile for more info. FileInstall("C:\Temp\Sqlite3.dll", "c:\Windows\Sqlite3.dll") Success with your appl. ptrexYes, I had thought of this. Thanks, for your help, and for all your work. Talking Clockhttp://www.autoitscript.com/forum/index.php?showtopic=20751Talking Headlineshttp://www.autoitscript.com/forum/index.php?showtopic=20655Sometimes, I sits and thinkssometimes, I just sits
leecole Posted March 6, 2007 Posted March 6, 2007 sorry ptrex i have to correct you @leecole about you question two: #include <SQLite.au3> #include <SQLite.dll.au3> and you dont have to worry about the dll anymore the dll bundled with autoit is a bit out of date. if you want to build your own SQLite.dll.au3, there is a tool in the repository (see my sig) if you cant build it on your own pn me and i'll update the SQLite.dll.au3 in the repositoryFor the functions that I use, the current dll will probably suffice. My aplications currently use the COM solution, but avoiding having to ship, and install the dll, will make it worthwhile, switching to the SQLite functions. Thanks, Talking Clockhttp://www.autoitscript.com/forum/index.php?showtopic=20751Talking Headlineshttp://www.autoitscript.com/forum/index.php?showtopic=20655Sometimes, I sits and thinkssometimes, I just sits
ptrex Posted March 6, 2007 Author Posted March 6, 2007 @piccasothe dll bundled with autoit is a bit out of dateThanks for the update.But if you use the standand SQLite.au3 you don't need the SQLite.dll.au3, correct ?I just wanted to keep it less confusing as it already is for the outsiders.RegardsPatrick Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New
piccaso Posted March 6, 2007 Posted March 6, 2007 well you dont need it if you take care of the dll yourself the original idea was to use it. the average user probably needs it CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map
gadzail Posted March 16, 2007 Posted March 16, 2007 I installed the new Autoit beta 3.2.3.0. I didn't see changes about sqlite in the changelog. Is it true? No new version (3.3.13) and no new dll?
piccaso Posted March 16, 2007 Posted March 16, 2007 (edited) you can get the latest version from that link in my sig.to update replace SQLite.au3 and SQLite.dll.au3 in your include Directory.for a changelog on sqlite.au3 your better off looking into the repository (Here)The wrapper in the Repository is an 'in development' version and not complete tested.but as soon as i get that done i'll send it in... Edited March 16, 2007 by piccaso CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map
McGod Posted March 27, 2007 Posted March 27, 2007 The SQLite in the beta version is old I'm guessing because when I ran a script that had SQLite in it, it gave me the new error about stack corruption, I put the new vers from your sig in there and it works fine. [indent][center][u]Formerly Chip[/u][/center]~UDFs~[/indent][u]IRC.au3 - Allows you to connect to IRC ServersINetCon.au3 - Connects/Disconnects/Check Status of InternetHardware Key - Creates a unique hardware hashScriptComm - Allows you to communicate between scripts using WM_COPYDATA[/u][indent]~Programs~[/indent][indent]SimonAu3ForumsIRC Bot~Web Site~Web Autoit Example[/indent][indent][b][/b][/indent][u][/u]
lsakizada Posted April 28, 2007 Posted April 28, 2007 I have stupid question but I have to ask it .. :"> I an building client/server app that use SQLite db with the sqlitx dll option. Is there any metohod/solution to allow the client retrieve the DataBase path remotely?(which obviously reside on the serer machine) My client designed to contact the database directly. Be Green Now or Never (BGNN)!
piccaso Posted April 28, 2007 Posted April 28, 2007 there is no such thing like a server for sqlite but there is a ODBC wrapper.http://www.ch-werner.de/sqliteodbc/but it should not be a trivial task to make your own sqlite server.since autoit supports sockets and binary transfer... CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map
lsakizada Posted April 28, 2007 Posted April 28, 2007 there is no such thing like a server for sqlite but there is a ODBC wrapper.http://www.ch-werner.de/sqliteodbc/but it should not be a trivial task to make your own sqlite server.since autoit supports sockets and binary transfer...Well I guess the SQLite is not appropriate solution for my application. I will stick with MySQL server and probably will have to improve the MySQL udf library for my needs.Thanks piccaso, you waked me up!.BTW: Drop a note if you here that someone invented the wheel again ... Be Green Now or Never (BGNN)!
Shaba1 Posted April 30, 2007 Posted April 30, 2007 I am sorry to add a useless post to this thread. But I could find no other way of subscribing to it to get email notifications.
JSThePatriot Posted May 1, 2007 Posted May 1, 2007 I have stupid question but I have to ask it .. :"> I an building client/server app that use SQLite db with the sqlitx dll option.Is there any metohod/solution to allow the client retrieve the DataBase path remotely?(which obviously reside on the serer machine)My client designed to contact the database directly.Out of curiosity, why would the client not talk to the server, and the server work with the database?I think that this could possibly be built in some how, but SQLite isn't setup as a server application. You could create a wrapper that would give it some functionality that you are looking for. SQLite is a single file database. The ODBC fix is one way, and one persons response to what you are wanting to do. Unfortunately it seems you have decided to go with MySQL. Another great database option, but requires an install on a machine for it to work. I am personally a fan of small, fast, and portable.I hope this helps a bit more,JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)
Recommended Posts