Many thanks, I'll check into that. I finished my test program and can display a layout window perfectly. Unfortunately, now, sorry to trouble you again, I'm getting the dreaded runtime crash on subscribeEvent again. I fixed this subscribe event problem last time I was using CEGUI 6.2 and Irrlicht 1.5 by applying the SP1 patch to VC 2005 as you recommended in the past. I already have this applied along with the ATL runtime security patch you mentioned earlier. See compiler info below.
First-chance exception at 0x00433a8f in cegui-with-input_vc8.exe: 0xC0000005: Access violation reading location 0xbaadf008.
Unhandled exception at 0x00433a8f in cegui-with-input_vc8.exe: 0xC0000005: Access violation reading location 0xbaadf008.
This happens with debug and release.
Here is the code:
bool (*pf_EventHandler)(const CEGUI::EventArgs& e);
pf_EventHandler = HandleNewGameButton;
m_pButtonNew = static_cast<CEGUI::PushButton*>(CEGUI::WindowManager::getSingleton().getWindow( "Root/Frame/ButtonNew" ));
} // End Try
catch (CEGUI::Exception &e)
} // End Catch
I've run the dependency walker and I can't see anything that pinpoints a problem at present.
Anyway, if you have any other thoughts on what might be going on with whatever is impacting subscribeEvent, I would appreciate it! Many thx!
Here is my compiler info and patches...running under XP SP3:
Microsoft Visual Studio 2005
Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727 SP2
Installed Edition: Standard
Microsoft Visual Basic 2005 77633-235-2738465-41612
Microsoft Visual Basic 2005
Microsoft Visual C++ 2005 77633-235-2738465-41612
Microsoft Visual C++ 2005
Microsoft Web Application Projects 2005 77633-235-2738465-41612
Microsoft Web Application Projects 2005
Microsoft Visual Studio 2005 Standard Edition - ENU Service Pack 1 (KB926601)
This service pack is for Microsoft Visual Studio 2005 Standard Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/926601