MYGUI - re-create MyGUI multi-times

compvis

07-12-2009 08:42:11

MYGUI - Re-create MyGUI:
create...
destroy...
create...
destroy...
create....

WHO CAN ?

Altren

07-12-2009 11:39:42

I can! :)
Man, it works fine. Look at your code that you posted there viewtopic.php?f=17&t=11732&start=0

//Destroy Gui
m_Gui->Destroy();
m_Gui = 0;
delete m_Gui;

So you deleting zero pointer instead deleting m_Gui!