loading .scheme file error
Posted: Thu Jul 20, 2006 02:42
I want to load the .scheme file in the OGRE_HOME/bin/datafiles/schemes/TaharezLookSkin.scheme.
And my code is as follows:
(I use VC7.1.)
When the exe is executed, there goes the exception saying that can not locate resource ..\datafiles\schemes\TaharezLookSkin.scheme in resource group.Quite strange, if I put the scheme files in the OGRE_HOME/media/gui, there won't be anything wrong.
Can anybody tell my why? Thank you:)
And my code is as follows:
Code: Select all
CEGUI::SchemeManager::getSingleton().loadScheme((CEGUI::utf8*)"..\\datafiles\\schemes\\TaharezLookSkin.scheme");(I use VC7.1.)
When the exe is executed, there goes the exception saying that can not locate resource ..\datafiles\schemes\TaharezLookSkin.scheme in resource group.Quite strange, if I put the scheme files in the OGRE_HOME/media/gui, there won't be anything wrong.
Can anybody tell my why? Thank you:)