Symbian
Symbian OS Library

FAQ-1139 What causes the panic MSGS 294

[Index][spacer] [Previous] [Next]



 

Classification: C++ Category: Messaging
Created: 09/20/2004 Modified: 10/07/2004
Number: FAQ-1139
Platform: Symbian OS v6.1, Symbian OS v7.0, Symbian OS v7.0s, Symbian OS v8.0, Symbian OS v8.0a, Symbian OS v8.0b, Symbian OS v8.1a, Symbian OS v8.1b

Question:
A MSGS 294 panic is "The synchronous version of CMsvEntry::CreateL(), CMsvEntry::ChangeL(), or CMsvEntry::DeleteL() was called for a non-local context." What does this mean?

Answer:
The Messaging UI is split into two groups of entries under things called the "local service" and the "remote service". The inbox/outbox/sent/drafts etc are part of the local service while the real mailboxes on the mail server are remote.

The synchronous versions of the above function calls can only be used with the local service, and the panic is raised if an attempt is made to call them on a remote entry.

The reason for this is that to modify the remote service the MTM is used, and the MTM might want to connect to a server. As this could be a long-running process, the synchronous variant would block the thread.