I made a MFC app using CEGUI. But I met a crazy problem... My app crashes in Debug mode but run just fine in Release mode. An error occurs in this code:
Code: Select all
mRenderer = new CEGUI::OgreCEGUIRenderer(m_pWindow, Ogre::RENDER_QUEUE_OVERLAY, false, 3000, m_SceneManager);
mSystem = new CEGUI::System(mRenderer);I catched CEGUI::Exception and got this error message:
"DynamicModule::DynamicModule - Failed to load module 'CEGUIExpatParser_d': The specified module could not be found."
I'm sure that I copied the CEGUIExpatParser_d.dll and all other dlls from OgreSDK\bin\debug folder to my execute folder. So I really don't understand why I got this error. I found that I'm not the first one who faces this problem.
Can somebody tell me what is the cause of this error?
Thank you in advance,
TTK
