[Lazarus] Help!!! Runtime Exception: No widgetset object

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Jul 31 19:04:06 CEST 2008


On Fri, 1 Aug 2008 00:52:28 +1000
"Peter Williams" <pewtas at gmail.com> wrote:

> Hi All,
> 
> I managed to successfully compile (Build) my Lazarus app without any
> error, warnings or hints. However, when I run it I get a runtime
> exception error:
> 
> Project Frog Retro Remake Game raised exception class 'Exception' with
> message:
> No widgetset object. Plz check if the unit "interfaces" was added to
> the programs uses clause.

What part of the message do you not understand?

 
> [OK] { button }
> 
> File "frog.lpr" ----------------------------------
> program frog;
> 
> {$MODE Delphi}
> 
> uses
>   Forms,
>   MainUnit in 'MainUnit.pas' {MainForm},
>   uFixedWidthFonts in 'uFixedWidthFonts.pas',
>   FrameUnit in 'FrameUnit.pas' {TabFrame: TFrame},
>   PagesDlgUnit1 in 'PagesDlgUnit1.pas' {PagesDlg},
>   PlayAgainUnit in 'PlayAgainUnit.pas' {PlayAgainForm},
>   IniFiles in 'IniFiles.pas', screen_strings;
> 
> {$R frog1.res}
> 
> begin
>   Application.Initialize;
>   Application.Title:='Frog Retro Remake Game';
>   Application.CreateForm(TMainForm, MainForm);
>   Application.Run;
> end.
> end of File "frog.lpr"--------------------------------


Mattias



More information about the Lazarus mailing list