🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.ms-windows.programmer.tools
2 messages
2 total messages Started by Solan Gundersen Thu, 21 Jan 1993 13:54
Subroutines for developing Databases
#782
Author: Solan Gundersen
Date: Thu, 21 Jan 1993 13:54
12 lines
1026 bytes
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.

Thanx from Kjetil Roe
Re: Subroutines for developing Databases
#785
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads