Has anyone interfaced to SQLite? There is a Fortran interface in flibs (by Arjen Markus - http://fortranwiki.org/fortran/show/FLIBS) and the Fortran source code is available, but this seems to require calls to the SQLite C library. I haven't interfaced to C libraries before, and not quite sure how to go about it. Would appreciate some advice. :? I've seen the documentation on C_EXTERNAL etc. in the FTN95 help file - but the flibs library is all in Fortran. I guess I may need to edit the flibs source code.
So far I have managed to implement a number of operations using START_PROCESS to execute the SQLite command-line utility sqlite3.exe - but only those which don't return data to, or require data from my own Fortran programs.
flibs does a lot of other things too, so when I've cracked it for SQLite, it shouldn't be too difficult to make it work for all the other stuff as well.