Hi All, I have a global funtion which is called in the application layer of sip stack. within the global function i m calling a user-defined member function of AppView, which is has below.

CGES_SIP_GUIContainerView *iApp2;

extern "C" void GlobalFunction()
{
iApp2->CGES_SIP_GUIContainerView::display_UI();
}

void CGES_SIP_GUIContainerView::display_UI()
{
printf("\n Inside DISPLAY UI");
printf("\n Inside DISPLAY UI");
AppUi()->ActivateLocalViewL( TUid::Uid(EGES_SIP_GUIContainer3ViewId ) );

}
It compiles with out any errors , i m building it for release version.only one printf statement above will be displayed and the program hangs at ActivateLocalViewL(). If i add getchar() after the printf's , both printf will be displayed and the program hangs at AppUi statement. I m not getting where it is going wrong. Kindly plz help me.

BR,
Saritha