TIP: Click on subject to list as thread! ANSI
echo: delphi
to: SVEN CIPIDO
from: RYAN POTTS
date: 1997-01-14 01:29:00
subject: Binairy Files from C++ to Delphi

Sven Cipido wrote in a message to ALL:
struct_rec = packed record
             Klantnr        : smallint;
             Klantnaam      : string[31];
             Klantvoor      : string[16];
             Klantstraat    : string[31];
             Klantpostcode  : string[5];
             Klantgemeente  : string[21];
             Klanttel       : string[21];
             Klantfax       : string[21];
             GSM            : string[21];
             KlantBTW       : string[12];
             Klantauto      : string[31];
             Klantnrplaat   : string[9];
             Klantchassis   : string[21];
             Cylinder       : string[21];
             Brandstof      : string[11];
             Ingeschreven   : string[9];
             IdenA          : string[31];
             IdenB          : string[31];
             IdenC          : string[31];
             IdenD          : string[31];
             Klantdatjaar   : word;
             Klantdatmaand  : word;
             Klantdatdag    : word;
             reparatiefiche : smallint;
             Gewist         : char;
end;
I don't know if you plan on using delphi 1 or 2.  I also didn't calculate the 
size in bytes of your record structure.  Something similar to what I have 
provided should allow your new delphi program to read the old c programs data 
files without any problems.
Thanks,
           Ryan 
---
---------------
* Origin: Midnight Express, Fairlawn Ohio (1:157/110)

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