TIP: Click on subject to list as thread! ANSI
echo: delphi
to: SVEN CIPIDO
from: BRYAN SMITH
date: 1997-01-14 10:07:00
subject: Binairy Files from C++ to Delphi

On 12 Jan 97 Sven Cipido said to ALL...
 SC> I had around 8 years ago wrote a program for a frien of my in C++
 SC> (DOS-version).  De database files where made as binairy files.
 SC> Now I wan't to upgrade this program to Windows using Delphi.
 SC> Is there a way to read these Binairy files in Delphi and convert them
One way to do it would be to reproduce that 'C' data structure as a Pascal
record type, then read the old file in, a record at a time, using blockread.
Then for each record, move the data from the fields of this pascal record to
the fields of the new .DBF structure, and write the data back out to your
new .DBF file.
If you are new to Delphi/Pascal and that sounds incomprehensible, contact me
via fido netmail or as bsmith@king.igs.net and we can discuss it further
off-line.
--- PPoint 2.00
---------------
* Origin: Kingston, Canada (1:249/109.11)

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™.