I can load the demo samples perfectly with Lua. When I try to load my own simple layout, made using the editor, I get a whole list of exceptions. Visual C++:
Code: Select all
First-chance exception at 0x7c59bc3f in Game.exe: Microsoft C++ exception: CEGUI::UnknownObjectException @ 0x00128604.
First-chance exception at 0x7c59bc3f in Game.exe: Microsoft C++ exception: CEGUI::UnknownObjectException @ 0x00128604.
First-chance exception at 0x7c59bc3f in Game.exe: Microsoft C++ exception: CEGUI::UnknownObjectException @ 0x00128604.
First-chance exception at 0x7c59bc3f in Game.exe: Microsoft C++ exception: CEGUI::UnknownObjectException @ 0x00128604.
First-chance exception at 0x7c59bc3f in Game.exe: Microsoft C++ exception: CEGUI::UnknownObjectException @ 0x00128604.
First-chance exception at 0x7c59bc3f in Game.exe: Microsoft C++ exception: CEGUI::UnknownObjectException @ 0x00128604.
Logfile:
Code: Select all
08/11/2005 19:29:28 (Error) Exception: There is no Property named 'BackgroundImage' available in the set.
08/11/2005 19:29:28 (Error) Exception: There is no Property named 'BottomFrameImage' available in the set.
08/11/2005 19:29:28 (Error) Exception: There is no Property named 'BottomLeftFrameImage' available in the set.
08/11/2005 19:29:28 (Error) Exception: There is no Property named 'BottomRightFrameImage' available in the set.
08/11/2005 19:29:28 (Error) Exception: There is no Property named 'LeftFrameImage' available in the set.
08/11/2005 19:29:28 (Error) Exception: There is no Property named 'RightFrameImage' available in the set.
08/11/2005 19:29:28 (Error) Exception: There is no Property named 'TopFrameImage' available in the set.
08/11/2005 19:29:28 (Error) Exception: There is no Property named 'TopLeftFrameImage' available in the set.
08/11/2005 19:29:28 (Error) Exception: There is no Property named 'TopRightFrameImage' available in the set.
Part from the actual layout file:
Code: Select all
<Window Type="TaharezLook/MultiLineEditbox" Name="Demo8/txtLog" >
<Property Name="ID" Value="3" />
<Property Name="BackgroundImage" Value="set:TaharezLook image:StaticBackdrop" />
<Property Name="BottomFrameImage" Value="set:TaharezLook image:StaticBottom" />
<Property Name="BottomLeftFrameImage" Value="set:TaharezLook image:StaticBottomLeft" />
<Property Name="BottomRightFrameImage" Value="set:TaharezLook image:StaticBottomRight" />
<Property Name="LeftFrameImage" Value="set:TaharezLook image:StaticLeft" />
<Property Name="RightFrameImage" Value="set:TaharezLook image:StaticRight" />
<Property Name="TopFrameImage" Value="set:TaharezLook image:StaticTop" />
<Property Name="TopLeftFrameImage" Value="set:TaharezLook image:StaticTopLeft" />
<Property Name="TopRightFrameImage" Value="set:TaharezLook image:StaticTopRight" />
<Property Name="UnifiedAreaRect" Value="{{0.008543,0.000000},{0.066082,0.000000},{0.962059,0.000000},{0.869686,0.000000}}" />
<Property Name="UnifiedMaxSize" Value="{{1.000000,0.000000},{1.000000,0.000000}}" />
</Window>
I guess the easiest methods is to remove these entries from the file, but maybe it's just something else that's going on?
Regards,
Sponge