Hi,
I am getting panic kern exe 3 error when I ran the debugger.
Is there a way to fix this?
TBool CmShareMainView::HandleLoginMenuItemSelectedL( TInt aCommand )
{
// TODO: implement selected event handler
CMShareMain* text2 = new CMShareMain() ;
// TInt length=text2->iUsernameTextBox->TextLength();
HBufC* buffer = HBufC::NewLC(165);
TPtr ptr = buffer->Des();
text2->iUsernameTextBox->GetText( ptr );//crashes here at this line
//text2->iUsernameTextBox->SetTextL( &ptr );
CleanupStack::PopAndDestroy(buffer);




