John Samperi wrote:
At 06:34 PM 2/11/2005, you wrote:Remove the {$R *.LFM) line completely.Figured that out a minute ago by looking at a new blank project, so I made the project file look like the new project. Added: {$mode objfpc}{$H+} in both the project file and Unit 1 initialization {$I unit111.lrs} just before the end. statement in Unit1 Removed {$R *.RES} from both the project file //{$R *.DFM} {$R *.LFM} from unit 1 Changed uses Forms, Unit1 in 'Unit1.pas' {Form1}; to uses Forms, Unit1; //in 'Unit1.pas' {Form1};Your resources are in the .lrs file now,Now unit1.lrs comes up with 2 errors on this line LazarusResources.Add;('TForm1','FORMDATA',[ etc... unit1.lrs (3,1) Error identifier not found "LazarusResources" unit1.lrs (3,21) Error illegal expression unit1.lrs (3,1) Fatal Syntax error ")" expected but "," found Properly worded subject line :-)
You hit this FAQ: http://wiki.lazarus.freepascal.org/index.php/Lazarus_Faq#When_I_try_to_compile_delphi_projects_under_lazarus.2C_I_have_an_error Also take a look at this page. It might help converting delphi projects to lazarus. http://wiki.lazarus.freepascal.org/index.php/Code_Conversion_Guide Vincent. _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
