[EMAIL PROTECTED] wrote:

On Sun, 16 Nov 2003 [EMAIL PROTECTED] wrote:



Compiling a delphi unit with dfm causes problems.
Message: d:\fpc\bin\win32\windres.exe: can't open font file `TTrace'...
Under D6 it works.

G:\>d:\fpc\bin\win32\ppc386 -TWin32 trace
Hint: End of reading config file fpc.cfg
Free Pascal Compiler version 1.9.1 [2003/11/16] for i386
Copyright (c) 1993-2002 by Florian Klaempfl
Target OS: Win32 for i386
Compiling trace.pas
Compiling resource trace.dfm
d:\fpc\bin\win32\windres.exe: can't open font file `TTrace': No such file or directory
trace.pas(166,1) Error: Error while linking
trace.pas(166,1) Fatal: There were 1 errors compiling module, stopping
Closing script ppas.bat


This is normal: windres does not understand delphi form files. It will
interpret the file totally wrong. At the moment, you cannot use Delphi form
files.

Michael.

_______________________________________________
fpc-devel maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-devel



Michael,
I had a compile clean project with dfm's recently (it does not run).
What is the solution. Convert dfm to source code?





_______________________________________________
fpc-devel maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to