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)
|