Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-02

Error when linking

6 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Alex du Plessis

When I compile and link (build) a project with Project options/Version info switched on, I get a message:
"c:\lazarus\fpc\2.2.0\bin\i386-win32\windres.exe: no resources" and the linking stops

What am I doing wrong?

Alex du Plessis

Reply by email

Jose
to Alex du Plessis

Alex du Plessis escribi?:

Show quoted text 13 lines
When I compile and link (build) a project with Project options/Version info switched on, I get a message: "c:\lazarus\fpc\2.2.0\bin\i386-win32\windres.exe: no resources" and the linking stops What am I doing wrong? Alex du Plessis _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

You must save your project first when using options like that. And when use "use manifest files to enable themes" and, I think, others.

Reply by email

OsvaldoTCF
to Jose

Ubuntu Gutsy
GTK2 and GTK
Lazarus svn 14266

My DBEdit and my DBMemo is readonly, i need a workaround for continue my work:

---------------------------
procedure TfrmAluno.FormActivate(Sender: TObject);
var
contador : integer;
begin
    for contador := 0 to ComponentCount - 1 do
  begin
     if ((Components[contador] is TCustomEdit) and
(Components[contador].Tag  111)) then
     (Components[contador] as TCustomEdit).ReadOnly := false;
  end;
end;
----------------------------------------

Reply by email

Joost van der Sluis
to OsvaldoTCF

Is the Dataset read-only?

Joost

Op woensdag 27-02-2008 om 12:24 uur [tijdzone -0300], schreef OsvaldoTCF:

Show quoted text 27 lines
Ubuntu Gutsy GTK2 and GTK Lazarus svn 14266 My DBEdit and my DBMemo is readonly, i need a workaround for continue my work: --------------------------- procedure TfrmAluno.FormActivate(Sender: TObject); var contador : integer; begin for contador := 0 to ComponentCount - 1 do begin if ((Components[contador] is TCustomEdit) and (Components[contador].Tag 111)) then (Components[contador] as TCustomEdit).ReadOnly := false; end; end; ---------------------------------------- _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Vincent Snijders
to Joost van der Sluis
Joost van der Sluis wrote
Is the Dataset read-only? Joost

Maybe:
http://bugs.freepascal.org/view.php?id=10876

Show quoted text 22 lines
Op woensdag 27-02-2008 om 12:24 uur [tijdzone -0300], schreef OsvaldoTCF: > Ubuntu Gutsy > GTK2 and GTK > Lazarus svn 14266 > > My DBEdit and my DBMemo is readonly, i need a workaround for continue my > work: > > --------------------------- > procedure TfrmAluno.FormActivate(Sender: TObject); > var > contador : integer; > begin > for contador := 0 to ComponentCount - 1 do > begin > if ((Components[contador] is TCustomEdit) and > (Components[contador].Tag 111)) then > (Components[contador] as TCustomEdit).ReadOnly := false; > end; > > end;

Reply by email