// show dialog
TBool result = dlg->ExecuteLD( R_MINO_NEWMESSAGES );
[/code:1]
This code works fine when I dont use threads, but if i try this code in a thread i get a KERN-EXEC 3 error.
The error occurs on this line:
[code:1]
dlg = CAknQueryDialog::NewL( CAknQueryDialog::EConfirmationTone );
[/code:1]
Whats causing this error, and why does it work outside the thread.
The thread shares the heap with the parent thread. Surely it must be possible to show a query dialog from a child thread?
// show dialog
TBool result = dlg->ExecuteLD( R_MINO_NEWMESSAGES );
[/code:1]
This code works fine when I dont use threads, but if i try this code in a thread i get a KERN-EXEC 3 error.
The error occurs on this line:
[code:1]
dlg = CAknQueryDialog::NewL( CAknQueryDialog::EConfirmationTone );
[/code:1]
Whats causing this error, and why does it work outside the thread.
The thread shares the heap with the parent thread. Surely it must be possible to show a query dialog from a child thread?