home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / mswindo / programm / tools / 2182 < prev    next >
Encoding:
Text File  |  1993-01-21  |  2.6 KB  |  56 lines

  1. Newsgroups: comp.os.ms-windows.programmer.tools
  2. Path: sparky!uunet!uunet.ca!cognos!smithb
  3. From: smithb@cognos.com (Brad Smith)
  4. Subject: Re: Subroutines for developing Databases
  5. Message-ID: <1993Jan21.192203.12619@cognos.com>
  6. Organization: Cognos Incorporated, Ottawa CANADA
  7. References: <1993Jan21.135406.19501@ugle.unit.no>
  8. Date: Thu, 21 Jan 1993 19:22:03 GMT
  9. Lines: 45
  10.  
  11. In article <1993Jan21.135406.19501@ugle.unit.no> wayne@unix1 (Solan Gundersen) writes:
  12. >Hello everybody!
  13. >
  14. >Does anybody know about where i could find subroutines that i could
  15. >include into my c code. I am makeing an alarm system for hospitales
  16. >and need to store data into a database (info about callers etc.) on
  17. >line while doing other thing. Since Windows is partially multitasking, 
  18. >we desided to program in C for Windows. So the problem is how to 
  19. >access a database fast to store a record and then continue. We also 
  20. >like to store in a standard database format like DBASE or someting 
  21. >like that. If anybody can help me, i whould be eternaly happy.
  22. >
  23. As it happens, a little over a year ago I too was working on an alarm system
  24. for hospitals (and similar). I've moved on now, but some of my early research
  25. may be of some use to you.
  26.  
  27. I would strongly recommend that you look at Borland's Paradox Engine (for
  28. Windows, in your case, though a DOS version is available).
  29. What it is, is a bunch of DLL's that handle all the database access for you. I
  30. never actually got to *look* at this myself, but the literature I read made it
  31. look like it could save a lot of work.
  32. The bonus is that the database file created *is* a Paradox file, so you could
  33. maintain it off-line using Paradox for DOS (and for Windows, whenever it's
  34. released). Our long-term plan was to allow networking of the PC's, so that an
  35. administrator could to data entry & reporting on a separate machine, without
  36. risking tying up the alarm software.
  37.  
  38. One question that came up early is that the users were interested in running
  39. things like WordPerfect, etc *while* the alarm software was running. Our answer
  40. was to forget it. Windows is simply *not* stable or fast enough to allow this
  41. to be done without risking data loss to the alarm system.
  42.  
  43. Hope this helps;
  44. Brad.
  45. -- 
  46. Brad P. Smith - Software Designer
  47. Cognos Inc.; 3755 Riverside Dr.; Ottawa, Ontario, CANADA; K1G 3Z4
  48. Voice: (613) 738-1440 ext 3702      FAX: (613) 738-0002
  49. Internet: smithb@cognos.COM         BIX: B.P.Smith@bix.com
  50.  
  51. -- 
  52. Brad P. Smith - Software Designer
  53. Cognos Inc.; 3755 Riverside Dr.; Ottawa, Ontario, CANADA; K1G 3Z4
  54. Voice: (613) 738-1440 ext 3702      FAX: (613) 738-0002
  55. Internet: smithb@cognos.COM         BIX: B.P.Smith@bix.com
  56.