delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/08/15:46:16

Newsgroups: comp.os.msdos.djgpp
From: Elliott Oti <e DOT oti AT stud DOT warande DOT ruu DOT nl>
Subject: Re: Database access
Sender: usenet AT fys DOT ruu DOT nl (News system Tijgertje)
Message-ID: <343C27A3.6CEF@stud.warande.ruu.nl>
Date: Thu, 9 Oct 1997 00:38:59 GMT
References: <34391686 DOT F9FE32AD AT provider DOT com DOT br>
Mime-Version: 1.0
Organization: Bipolar Widgets International
Lines: 32
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019