I am using a CAknProgressDialog to display a progress dialog. During the progress I need to update the text displayed. I use SetTextL() in the following way:

_LIT (KProgressText1, "progress text");
m_progressDialog->SetTextL (KProgressText1);

In the simulator this works fine, but on target it displays mostly garbage (like "@@" or "CX"). I noticed I compile with Unicode, meaning the TLitC is TLitC16.

Any ideas?

Yaron Tadmor