[fpc-devel]Problem to open an File

Armin Rohnen Armin.Rohnen at bmw.de
Tue Sep 3 07:36:37 CEST 2002


I Have write the function (using ppc386 on WIN2000 System):

function GetMessData: integer;
type
  pak = record
	werte : String[23];
  end;

  PakFile = file of pak;

var
   i : integer;
   F : PakFile;
   
begin

  Assign(F,'C:\Temp\amag.txt');
  Reset(F);


end;

In the moment, there are not more line in the code of this function.
compiling is ok.
but the linker send the error:
-:link.res: file format not recognized; treating as linker script
-:link.res:1: parse error
unwucht.pp(165,1) ERROR: ERROR while linking
Closing script ppas.bat


-- 
Mit freundlichen Grüßen

BMW AG Werk Regensburg

TR-451 - Analyse, ATG Integration, Analyse-Werkstätten
Akustik Analyse Werk Regensburg

Dipl.-Ing. Armin Rohnen DGAQS

Herbert-Quandt-Allee
93055 Regensburg

Tel.: 0941-770 2565
Mobil: 0179 - 6613999
FAX: 0941 - 770 3433

armin.rohnen at bmw.de
rohnen at dgaqs.de




More information about the fpc-devel mailing list