🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools
Article #785

Re: Subroutines for developing Databases

#785
From: Brad Smith
Date: Thu, 21 Jan 1993 19:22
45 lines
2700 bytes
In article <1993Jan21.135406.19501@ugle.unit.no> wayne@unix1 (Solan Gundersen) writes:
>Hello everybody!
>
>Does anybody know about where i could find subroutines that i could
>include into my c code. I am makeing an alarm system for hospitales
>and need to store data into a database (info about callers etc.) on
>line while doing other thing. Since Windows is partially multitasking, 
>we desided to program in C for Windows. So the problem is how to 
>access a database fast to store a record and then continue. We also 
>like to store in a standard database format like DBASE or someting 
>like that. If anybody can help me, i whould be eternaly happy.
>
As it happens, a little over a year ago I too was working on an alarm system
for hospitals (and similar). I've moved on now, but some of my early research
may be of some use to you.

I would strongly recommend that you look at Borland's Paradox Engine (for
Windows, in your case, though a DOS version is available).
What it is, is a bunch of DLL's that handle all the database access for you. I
never actually got to *look* at this myself, but the literature I read made it
look like it could save a lot of work.
The bonus is that the database file created *is* a Paradox file, so you could
maintain it off-line using Paradox for DOS (and for Windows, whenever it's
released). Our long-term plan was to allow networking of the PC's, so that an
administrator could to data entry & reporting on a separate machine, without
risking tying up the alarm software.

One question that came up early is that the users were interested in running
things like WordPerfect, etc *while* the alarm software was running. Our answer
was to forget it. Windows is simply *not* stable or fast enough to allow this
to be done without risking data loss to the alarm system.

Hope this helps;
Brad.
-- 
Brad P. Smith - Software Designer
Cognos Inc.; 3755 Riverside Dr.; Ottawa, Ontario, CANADA; K1G 3Z4
Voice: (613) 738-1440 ext 3702      FAX: (613) 738-0002
Internet: smithb@cognos.COM         BIX: B.P.Smith@bix.com

-- 
Brad P. Smith - Software Designer
Cognos Inc.; 3755 Riverside Dr.; Ottawa, Ontario, CANADA; K1G 3Z4
Voice: (613) 738-1440 ext 3702      FAX: (613) 738-0002
Internet: smithb@cognos.COM         BIX: B.P.Smith@bix.com
Technical Details
Message-ID: <1993Jan21.192203.12619@cognos.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!uunet.ca!cognos!smithb
References: <1993Jan21.135406.19501@ugle.unit.no>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.tools
Path: arc1-ca.pugleaf.net!sparky!uunet!uunet.ca!cognos!smithb
From: smithb@cognos.com (Brad Smith)
Subject: Re: Subroutines for developing Databases
Message-ID: <1993Jan21.192203.12619@cognos.com>
Organization: Cognos Incorporated, Ottawa CANADA
References: <1993Jan21.135406.19501@ugle.unit.no>
Date: Thu, 21 Jan 1993 19:22:03 GMT
Lines: 45