I am using CMsvEntry and encountering some problem.
CMsvEntry * iMsvEntry = CMsvEntry::NewL(*iSession, KMsvGlobalOutBoxIndexEntryId, TMsvSelectionOrdering());
//if I put CleanupStack::PopAndDestroy(iMsvEntry); nothing wrong
CleanupStack::PopAndDestroy(iMsvEntry);//But if I put the code here an
Access Violation occurs, could any please tell me why? How I can destroy
this object? I've been looking for solutions for a day. Thank you