ich bin gerade dabei Mein Projekt für Windows via Cross zu compalieren und Stöße leider auf einen Sogenannten windres-Problem.
Anfangs hatte ich das Problem, das die
Code: Alles auswählen
unit lresources
nun sich diese eingebunden, habe meine Mainfile wie folgt geschrieben
Code: Alles auswählen
program Menstruation;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Interfaces, // this includes the LCL widgetset
Forms, runtimetypeinfocontrols, lazcontrols, printer4lazarus, turbopoweripro,
udata, Main, Regel, User_Settings, User_Control, About_info, HTMLexport;
{$IFDEF WINDOWS}
{$R Menstruation.rc}
{$ELSE}
{$R Menstruation.res}
{$ENDIF}
begin
// {$IFDEF WINDOWS}RequireDerivedFormResource := True;{$ENDIF}
Application.Initialize;
Application.CreateForm(TForm1, Form1);
Application.CreateForm(TForm2, Form2);
Application.CreateForm(TForm3, Form3);
Application.CreateForm(TForm4, Form4);
Application.CreateForm(TForm5, Form5);
Application.CreateForm(TForm6, Form6);
Application.Run;
end.
Hab gerade mal was versucht, was man glaube nicht machen sollt. Die Zeilen
Code: Alles auswählen
{$IFDEF WINDOWS}
{$R Menstruation.rc}
{$ELSE}
{$R Menstruation.res}
{$ENDIF}
Code: Alles auswählen
{$IFDEF WINDOWS}
{$R Menstruation.res}
{$ELSE}
{$R Menstruation.rc}
{$ENDIF}

Hat da jemand von euch eine Idee, ob das ein Problem werden könnte, oder kann ich sowas in den Berümten SKAT drücken?