TIP: Click on subject to list as thread! ANSI
echo: delphi
to: STEVE BATSON
from: BART BROERSMA
date: 1996-12-16 18:34:00
subject: Porting old DOS app.

Quoting a message from Steve Batson to Bart Broersma
BB> 1. The (external) datastructure my old program uses (typed file of 
BB> somekind of records) must not be altered, because I must be able to
BB> use the old 
BB> DOS program as well (on an old AT) as the Windows version, both usi
SB>You can easily work with Typed files in Delphi. Since you know the file
SB>format, you can used the pascal routines to work with typed files, load
SB>them into an array as you mentioned and then have a routine that popula
SB>all the boxes on the screen when you select an elment of the array.
SB>That will work fine in Delphi 1. If you every port
SB>to Delphi 2, you may need to deal with variable sizes since Delphi 2
SB>has variables that take more space then the 16 versions. You may run in
SB>this with Delphi 1 and your old DOS files, so you should keep then in m
SB>when reading the records in. 
Thanks for your help, did the above in the mean time. Looks Okay and seems 
to function well (copied most of the I/O and logic from my old TP files).
C.U.
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™.