[fpc-devel]Problem to open an File

Peter Vreman peter at freepascal.org
Tue Sep 3 07:46:22 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

Please include the link.res also








More information about the fpc-devel mailing list