cegui 0.4.1 <===

Forum for general chit-chat or off-topic discussion.

Moderators: CEGUI MVP, CEGUI Team

necropower
Just popping in
Just popping in
Posts: 1
Joined: Thu Oct 12, 2006 15:13
Contact:

cegui 0.4.1 <===

Postby necropower » Thu Jan 11, 2007 11:50

Guys, i am using CEGUI 0.4.1 that was wrapped to dotnet, CEGUIDOTNET, i believe that some of you have heard or used it.

However, i am getting a really strange problem here, SOMETIMES, when i call the window.destroy method or windowmanage.destroywindow, it crashs for no reason at all!!!

the code is below :


Code: Select all

if (WindowManager.Instance.isWindowPresent("Menu_Main_BackgroundWindow"))
{
   WindowManager.Instance.destroyWindow("Menu_Main_BackgroundWindow");
}


the error is below too :

"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

"at CeguiDotNet.CeguiBindingsPINVOKE.WindowManager_destroyWindow__SWIG_1(HandleRef jarg1, HandleRef jarg2)\r\n
at CeguiDotNet.WindowManager.destroyWindow(String window)\r\n
at Lex.InterfaceMain.Dispose() in Z:\\Lex\\Prog\\Lex\\Game\\Interface\\InterfaceMain.cs:line 59\r\n
at Lex.InterfaceMain.btnArcade_Clicked(WindowEventArgs e) in Z:\\Lex\\Prog\\Lex\\Game\\Interface\\InterfaceMain.cs:line 237\r\n
at CeguiDotNet.PushButton.ClickedFunction()\r\n
at CeguiDotNet.CeguiBindingsPINVOKE.GuiSystem_InjectMouseButtonUp(HandleRef jarg1, Int32 jarg2)\r\n
at CeguiDotNet.GuiSystem.InjectMouseButtonUp(MouseButton button)\r\n
at Lex.InputManager.MouseReleased_Event(MouseEvent e_) in Z:\\Lex\\Prog\\Lex\\Game\\InputManager.cs:line 262\r\n
at OgreDotNet.EventHandler.MouseReleasedHandler(Single x, Single y, Single z, Int32 buttonid)\r\n
at OgreDotNet.OgreBindingsPINVOKE.Root_StartRendering(HandleRef jarg1)\r\n
at OgreDotNet.Root.StartRendering()\r\n
at Lex.Game.Main() in Z:\\Lex\\Prog\\Lex\\Game\\Game.cs:line 671\r\n
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)\r\n
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)\r\n
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()\r\n
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)\r\n
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n
at System.Threading.ThreadHelper.ThreadStart()"


could someone enlight me on that ?

Thanks,

Necro

Return to “Offtopic Discussion”

Who is online

Users browsing this forum: No registered users and 6 guests