hi,all
I would like to explain more detail about my problem.
I\'m using paws to make some gui, and I create several xml gui definition file. Now I want to create a independent program to load this xml gui gile, but always I get the error when doing LoadWidget.
In my program, I\'m using WinManager to handle all the gui, and it extends paws\' PawsManager.
like this:
WinManager::WinManager(SPEngine* engine,iObjectRegistry* objectReg,const char* skin)
:PawsManager(objectReg,skin)
{
myengine=engine;
pawsMainWidget *mainWidget;
mainWidget = new pawsMainWidget(this);
this->SetMainWidget(mainWidget);
}
void WinManager::Init()
{
bool result = LoadWidget(\"conf/login.xml\");
if(!result){
printf(\"result is false!!!!\");
}
}
how can I write an class to load these xml gui files?
Any help will be welcome!
Thanks
lqc