PDA

View Full Version : Announcing SQLite 3 action plug-in


KraMer
11-17-2008, 06:27 AM
I have been working on an SQLite 3 action plug-in, mostly compatible with the included one (in terms of usage). It should be ready for testing in a few days ;)

It will be released in the public domain and distributed for free, with the C++ and Lua source code available (well, Lua 'till I find out how to deal with tables in C++, some info from an IR dev would be very welcome). As a matter of fact, I'm offering the current source code so you may get learn something if you take a look, it's only a single file. You need to have Lua 5.0, SQLite 3.6.5 (may work with older versions), the Windows SDK and a C++ compiler (I use VC++ 2008).

I've read that you people have wanted this for a long time, so I though I'd use my skills to create something helpful ;) IR can and should bundle this with AMS; again, some help (http://www.indigorose.com/forums/showthread.php?t=25476) would be greatly appreciated.

RizlaUK
11-17-2008, 06:45 AM
this will be a very welcome addition, i hope you get the information you need .. ..very soon, lol :yes

Solmos
11-17-2008, 07:43 AM
SQLite 3 action plug-in

yes PLEASE! :yes:yes:yes

HMMurdock
11-17-2008, 07:47 AM
Nice work. Thanks!

KraMer
11-17-2008, 12:11 PM
So far so good, two people got version 0.1 for a test run :D

Anyone who wants to help me test and fix it (I doubt I've written bulletproof code xD)?

Dermot
11-18-2008, 11:37 AM
Sounds great. Would love to test it.

KraMer
11-19-2008, 06:17 AM
Here you go :D

I haven't received any replies from Riz or TJ though :| I have no idea to what degree it works.

RizlaUK
11-19-2008, 08:45 AM
soz about that, been a little busy

ok, set about making a test app, added the sqlite3 plugin and run the example with no code and it crashed on startup!

Dermot
11-19-2008, 10:31 AM
Same here. It crashes as soon as you preview, before the window even appears.

KraMer
11-19-2008, 12:34 PM
Hmm... I'm running it via a debugger right now, hopefully I'll end up somewhere. Weird :| Thanks!

KraMer
11-19-2008, 01:38 PM
It appears that failure is right here:

lua_register(L, "SQLite3_Close", sqlite3ap_close);

Deep into Lua I get:

Unhandled exception at 0x6c57852e (SQLite3.lmd) in autorun.exe: 0xC0000005: Access violation reading location 0xbaadf014.

:wow