flat assembler
Message board for the users of flat assembler.
Index
> Main > Simple example with SQLite. |
Author |
|
JohnFound 04 Feb 2005, 12:15
Playing with SQLite, I decided to write a simple example, that to help people willing to use excelent (only not so small) database engine SQLite.
In order to keep it as simple as possible, there is no any error check in the example. [EDIT]This example is included in the latest Fresh release (1.1.D), in the directory "examples".[/EDIT] Regards. Last edited by JohnFound on 08 Mar 2005, 12:45; edited 2 times in total |
|||
04 Feb 2005, 12:15 |
|
JohnFound 09 Feb 2005, 20:25
ronware wrote: Only shame is it's not written in FASM Well, it is still not too late... But actually SQL is not very compatible with assembler way of thinking... I suppose, if someone want to create RDBMS, suitable for assembly language programming, he/she would be better to choose some different approach - flexible as SQL, but more assembly-like...who knows, maybe something like Forth or at least - SQL, but not string based... Regards. |
|||
09 Feb 2005, 20:25 |
|
coconut 08 Mar 2005, 11:05
john, is the file still available the link leads to an error page
|
|||
08 Mar 2005, 11:05 |
|
JohnFound 08 Mar 2005, 12:40
Sorry, guys. I simply forgot to remove this link. It is obsolete, because I included this example in the latest Fresh release, "examples" directory.
Regards |
|||
08 Mar 2005, 12:40 |
|
vbVeryBeginner 04 Apr 2005, 05:27
hi john,
they released some new version of sqlite3.dll maybe you could update the examples zip http://www.sqlite.org/download.html your is 236 KB (241,664 bytes) and the current released on their site is 241 KB (246,784 bytes). sincerely, sulaiman chang. * i gonna take a look on ur sqlite example,coz the VB torture me very much already! |
|||
04 Apr 2005, 05:27 |
|
JohnFound 04 Apr 2005, 12:57
Hi, vbVeryBeginner.
I know there is new version(s). In the next release of Fresh it will be updated, of course. But actually as far as the API is the same, you simply can replace old .dll with new one and the example will work the same way. Regards. |
|||
04 Apr 2005, 12:57 |
|
vbVeryBeginner 04 Apr 2005, 16:53
yup, replace them already
btw, could you make the example (all the proc calls) in one file instead of having procs in several files?, coz it might be easier for non-fresh user to enjoy that great example ? btw, how bout the cdecl and stdcall problem? i replace the sqlite3.dll and found that they got no problem? but u said they r using cdecl calling in one thread? and need to do something with the stack?? care to explain to me (i am quite beginner on this) at first i thought the size difference is because u recompile the sqlite source again to stdcall convention.. ?? |
|||
04 Apr 2005, 16:53 |
|
JohnFound 05 Apr 2005, 05:38
vbVeryBeginner wrote: btw, how bout the cdecl and stdcall problem? I wouldn't call it a "problem". There are working macroses "ccall" and "cinvoke" in "StrCallEx.inc", so you can call any cdecl function without any problem. I simply don't like this convention, because it is not too reasonable, except for several particular cases - for example if you want to pass different number of arguments to one procedure. Regards |
|||
05 Apr 2005, 05:38 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.