Dear all,
I'm in my first year of teaching at the University of Brussels. Since this year we decided to use Lazarus in stead of Delphi for our lessons. I gave my first lesson last fryday, where I asked my students to install Lazarus at home and try to remake the exercices as seen in class.
One of my students mailed me yesterday that he encounters a problem when running the project. I believe he's working under XP SP2. The compilation works, but when it comes to the debugging, he receives the error 'External: SIGSEGV'.
The excercice is quit simple: create a label, button. When the button is pressed on, the color of the label changes to red. We did the same thing in class, no problems.
Can someone help me resolve the problem?
Thx
-----------
unit UnitMainWindow;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls;
type
{ TFormVerkleur }
TFormVerkleur = class(TForm)
ButtonVerkleur: TButton;
LabelVerkleur: TLabel;
procedure ButtonVerkleurClick(Sender: TObject);
private
{ private declarations }
public
{ public declarations }
end;
var
FormVerkleur: TFormVerkleur;
implementation
{ TFormVerkleur }
procedure TFormVerkleur.ButtonVerkleurClick(Sender: TObject);
begin
LabelVerkleur.Color := clRed;
end;
initialization
{$I UnitMainWindow.lrs}
end.