Wait dialog

Login to reply to this topic.
Sat, 2005-11-05 10:29
Joined: 2004-08-19
Forum posts: 112
I have a wait dialog set up the standard way:

Code:
  CAknWaitDialog* WaitDialog = new (ELeave) CAknWaitDialog (REINTERPRET_CAST (CEikDialog**, &WaitDialog), ETrue);
  WaitDialog->SetCallback (this);
  WaitDialog->ExecuteLD (R_IMPORTING_NOTE); // 1
  ... // 2
  WaitDialog->ProcessFinishedL (); // 3
  // 4

When the process is started, the dialog gets displayed all right [1]. Then the program does the actual processing [2], and this goes correctly as well. Then ProcessFinished() [3] is called but it never returns, the wait dialog remains displayed but nothing happens. If I cancel the dialog manually, I get a KERN-EXEC 3. The lines [4] after ProcessFinished() never run.

Thanks,
  Gábor

Bye,
Gábor

  • Login to reply to this topic.