LiteC SqLite Connector

Posted By: NeoNeper

LiteC SqLite Connector - 04/23/13 02:58

Hello friends. I'm working on a plugin interaction between LITEC and SQLite.
So far, the plugin functions are ONLY the essentials for handling and managing the database.

Download LiteC SQLITE Connector V 1.1[/url]
Update in 13/setember/2013

Sample files included in the package

DOWNLOAD LITEC PLUGIN:
http://sourceforge.net/projects/sqlite3cworkitv10/files/3DGD/LITEC_sqlte3_v1.1.zip/download

PROJECT:
https://sourceforge.net/projects/sqlite3cworkitv10/?source=navbar

SQLITE Software MANANGER
http://sqlitebrowser.sourceforge.net/
Posted By: BySharDe2

Re: LiteC SqLite Connector - 04/23/13 03:09

Wow, Cannot believe you are still working on it!
Good work.
Posted By: oliver2s

Re: LiteC SqLite Connector - 04/23/13 11:47

Wow, really great contribution. Worked myself on a SQLite Plugin, but never finished it because of other prior work.
Posted By: NeoNeper

Re: LiteC SqLite Connector - 04/23/13 12:04

Works well!
I will still in Place more functions to meet the requirements of my project, so soon I'll post the new version!.
If someone need any function that is not implemented, let me know and I will be including for the use of you.
Posted By: NeoNeper

Re: LiteC SqLite Connector - 09/13/13 21:05

SQLITE3 FOR LITEC UPDATE. Now for #C and C++, NewFUnctions included.
I have not finished the documentation for Litec, but the zip file, there are several sources for learning!
USE doubt, just ask!
Posted By: mayark

Re: LiteC SqLite Connector - 12/17/16 00:44

I tried to use this but getting errors. Has anyone got this working?

Here is what I tried.

1. I commented out the line <acknex.h>, since I couldn't find it anywhere in litec.
2. When I tried to run it in zorro test mode, I get the below 3 errors.

Error in 'line 15' (please follow the below code for line numbers)
'MZ' undeclared identifier.
<function main()>



Could someone shed some light on this please?

Thank you for your help.


////////////////////////////////////////////////////////////////////////////////////////////
/*Connect to te database*/
////////////////////////////////////////////////////////////////////////////////////////////

//#include <acknex.h>
#include <default.c>
#include <windows.h>

//Include the DLL functions prototype
//#include "lib_sqlitec.h";

#include "C:UsersLenovoZorrosqlite3_pluginlib_sqlitec.h";
#include "C:UsersLenovoZorrosqlite3_pluginsqlite3c.dll";

function main()
{

//Start DLL Functions prototypes
libsqlite_start("C:UsersLenovoZorrosqlite3_pluginsqlite3c.dll");

wait(1);

char* db = "C:UsersLenovoZorrosqlite3_pluginmydata.db";
char errbuff[256];

if(!sql_conect(db,SQLITE_OPEN))
{

printf("successfully connected");

}
else
{
sql_get_error(errbuff);
printf("%s",errbuff);
}

sql_close();
}
Posted By: codeChallenged

Re: LiteC SqLite Connector - 05/25/17 17:55

Thank you, used code to create a small database to go with a 3DGS project.
Posted By: MINER

Re: LiteC SqLite Connector - 02/19/19 09:05

This is good, great job.
© 2024 lite-C Forums