[fpc-devel]Problem to open an File
Armin Rohnen
Armin.Rohnen at bmw.de
Tue Sep 3 10:59:21 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
--------------
here link.res
SEARCH_DIR(g:\pc\pp\unwucht\VERSI~L!\)
SEARCH_DIR(g:\pc\pp\units\win32\)
SEARCH_DIR(g:\pc\pp\units\win32\rtl\)
INPUT(
g:\pc\pp\units\win32\rtl\wprt0.ow
g:\pc\pp\unwucht\VERSI~L!\unwucht.ow
)
GROUP(
g:\pc\pp\units\win32\rtl\libpdos.aw
g:\pc\pp\units\win32\rtl\LIBPW~JH.AW
g:\pc\pp\units\win32\rtl\LIBPS~GM.AW
g:\pc\pp\units\win32\rtl\LIBPO~14.AW
g:\pc\pp\units\win32\rtl\LIBPS~UD.AW
)
--
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
More information about the fpc-devel
mailing list