how to hook up to browser
hi!...
The following shows how to start the browser with a specific WAP page.

HBufC* param = HBufC::NewLC( 20 );
param->Des().Copy( _L("4 wap.yahoo.com/"));
// param->Des().Copy( _L("4 XXX.XXX.XXX.XXX:8080/merchant.wml/"));

const TInt KWmlBrowserUid = 0x10008D39;
TUid id( TUid::Uid( KWmlBrowserUid ) );
TApaTaskList taskList( CEikonEnv::Static()->WsSession() );
TApaTask task = taskList.FindApp( id );
if ( task.Exists() )
{
HBufC8* param8 = HBufC8::NewLC( param->Length() );
param8->Des().Append( *param );
task.SendMessage( TUid::Uid( 0 ), *param8 ); // Uid is not used
CleanupStack::PopAndDestroy();
}
else
{
RApaLsSession appArcSession;
User::LeaveIfError(appArcSession.Connect()); // connect to AppArc server
TThreadId id;
appArcSession.StartDocument( *param, TUid::Uid( KWmlBrowserUid ), id );
appArcSession.Close();
}
CleanupStack::PopAndDestroy(); // param
//END OF PROGRAM

The probs is when i hooked up to yahoo it's seem to be alright but when i hooked up thru other IP the program crashed.

can somebody explain to me why....
tnx in advanced