Mail Archives: djgpp/1997/10/08/15:46:16
Antonio Dias wrote:
>
> Hello all,
>
> I'm a newcomer in DJGPP programming and I would like to know if there is
> any library like CodeBase ported to DJGPP. I'm interested in construct
> an application for database access with multiuser support and CodeBase
> offers all that I need but It is not free. So I''m looking for something
> more inexpensive like DJGPP is. :-)
There is a port of Unix' gdbm to DOS,also called gdbm.I forget where I
first saw it, probably SimTel, but I can email the zipfile if a WWW
search turns nothing up. I haven't seen any sources to the DOS version,
just a library and header files. It does offer multiuser support ( well,
it controls read access and read-write access for simultaeneous users at
least). The internet is flooded with free graphics source code, but very
little database code (I've looked!). I also have a CDROM with some
reasonably portable free source code for a database on it, that I've
managed to compile successfully under djgpp using a few #ifdefs. I can
email it if you want.
The problem with all these ports is that none of them use the popular PC
database file formats ( DBase, Access, Paradox etc ) so that you have to
write conversion utilities yourself. They are also not really relational
databases at all, simply for hashed-key retrieval, storage and sorting
of data, and you can completely forget stuff like scripting and query
languages, unless you are prepared to do that from scratch ( although if
you're a Unix guru you can probably do amazing things with gdbm in
combination with sed, awk or perl -- I can't :-).
--
------------ Elliott Oti ---------------
------------- http://www.fys.ruu.nl/~oti ---------
- Raw text -