I am using CMsvEntry and encountering some problem.
CMsvEntry * iMsvEntry = CMsvEntry::NewL(*iSession, KMsvGlobalOutBoxIndexEntryId, TMsvSelectionOrdering());
//if I put here "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? And how can I destroy this object? I've been looking for solutions for a day. Thank you