TIP: Click on subject to list as thread! ANSI
echo: delphi
to: ALL
from: BART BROERSMA
date: 1996-11-30 15:33:00
subject: Porting old DOS app.

Hello all you out there,
I am trying to port an old DOS app, a tiny custom-made database-like 
program, to the Windows (3.1x) environment. Since I'm used to programming 
in TP, I wanted to do this in Delphi (1.0).
There are some problems however.
1. The (external) datastructure my old program uses (typed file of some 
kind of records) must not be altered, because I must be able to use the old 
DOS program as well (on an old AT) as the Windows version, both using the 
same data files. Therefore I can't just simply use a Table as far as I 
know. (I don't want to completely rewrite the DOS version so that it uses 
dBase or Paradox tables, and then having to bother to write conversion 
programs for the old version, that is in use by some other friends of my as 
well ... )
2. I don't want the Windows exe to be dependent on the BDE, as dictated by 
point 1.
3. I want to keep the whole database in RAM (it will never be > 1 Mb) for 
reasons of speed in sorting and searching (assuming Windows doesn't swap 
its contents into virtual memory...).
Now then, since I can't use a Table, how do I go about making something 
that looks like a DBEdit control, that uses an array or linked list of 
records as it's input-source ?
If anyone can please give me a clue on how to do that, I'm sure I can work 
out the rest.
This may be just a stupid "Newbe" question to some of you, but I'm quite 
desperate !
Thanks in advance,
Bart
--------------------------------------
Bart Broersma
broersma@knmg.nl
 * Wave Rider 1.20 [NR] *
... UNREGISTERED EVALUATION COPY
--- Wave Rider v1.20
---------------
* Origin: Aargh! BBS Amsterdam (2:280/606)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.