problem in mms
| Mon, 2007-12-10 07:46 | |
|
Hi, I get the following errors:---- 1.'CMmsClientMtm::CreateAttachment2L(CMsvStore &, RFile &, TDesC8 &, CMsvMimeHeaders &, CMsvAttachment *, unsigned int &)' (non-static) header files included library files included In header file In cpp file
In ConstructL() In HandleSessioneventL() In message sender // Open the entry's store - assume message context set correctly TFileName attachmentFile(KPhoneRootPath); TInt error = attachment.Open(CCoeEnv::Static()->FsSession(), attachmentFile, EFileShareReadersOnly | EFileRead); // Represents a single attachment and information about the attachment // Mime Type // Attachment file must be in a public folder (e.g. c:\Data\images) CleanupStack::Pop(attaInfo); // attaInfo // If a SMIL file is attached for presentation layout purposes // Commit the changes and perform the appropriate cleanup // Save the changes iOp = iMtm->SendL(iStatus); SetActive(); Regards! |
|






Forum posts: 37
The code compiles by changing the type of attachId from TMsvId to TMsvAttachId .................
For sending the mms, I use->
CMmsClientMtm* iMtm;
CMsvOperation* iOp;
iOp=iMtm->SendL(&iStatus);
Then I have a problem:-
The whole class belongs to active object.
1.Need to implement DoCancel() of active obj.
Inside this, which API to call to cancel outstanding request.
Regards!
Chinmaya Mishra.