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 :-)




Regards

John Samperi

********************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495       Fax (02) 9674-8745
Email: [EMAIL PROTECTED]
Website  http://www.ampertronics.com.au
*Electronic Design * Custom Products * Contract Assembly
********************************************************


_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to