<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - Problem with making changes in sms message : - Comments</title>
 <link>http://www.newlc.com/en/topic-14160</link>
 <description>Comments for &quot;Problem with making changes in sms message :&quot;</description>
 <language>en</language>
<item>
 <title>Re: Problem with making changes in sms message :</title>
 <link>http://www.newlc.com/en/topic-14160#comment-30925</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;thanks for reply.&lt;br /&gt;&lt;br /&gt;above code (updating msgEntry later) works fine when i create a sms in Inbox locally using following code. But dont work when a sms arrives from some other phone. &lt;br /&gt;&lt;br /&gt;anybody could tell me why it dont work &lt;img src=&quot;/fr/sites/all/modules/smf_filter/smf_smileys/sad.gif&quot; alt=&quot;Sad&quot; border=&quot;0&quot; /&gt;(&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;//Create message in Ibox&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iSmsMtm-&amp;gt;SwitchCurrentEntryL(aFolderId); &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iSmsMtm-&amp;gt;CreateMessageL(KUidMsgTypeSMS.iUid);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //iSmsMtm-&amp;gt;AddAddresseeL(aAddress); //to address if need&lt;br /&gt;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CMsvStore* aMessageStore = iSmsMtm-&amp;gt;Entry().EditStoreL();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CleanupStack::PushL(aMessageStore);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CSmsHeader&amp;amp; iHeader = iSmsMtm-&amp;gt;SmsHeader();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iHeader.SetFromAddressL(aAddress);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iHeader.StoreL(*aMessageStore);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CleanupStack::PopAndDestroy(aMessageStore);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CRichText&amp;amp; body = iSmsMtm-&amp;gt;Body();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; body.Reset();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; body.InsertL(0, aMessage);&lt;br /&gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TMsvEntry entry = iSmsMtm-&amp;gt;Entry().Entry();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; entry.SetInPreparation(EFalse);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; entry.SetVisible(ETrue);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; entry.iDate.HomeTime();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; entry.iDescription.Set(aDescription);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; entry.iDetails.Set(aAddress);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; entry.SetUnread(ETrue);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iSmsMtm-&amp;gt;Entry().ChangeL(entry);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iSmsMtm-&amp;gt;SaveMessageL();&amp;nbsp; &amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</description>
 <pubDate>Wed, 03 May 2006 22:27:55 +0200</pubDate>
 <dc:creator>Error</dc:creator>
 <guid isPermaLink="false">comment 30925 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Problem with making changes in sms message :</title>
 <link>http://www.newlc.com/en/topic-14160#comment-30924</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Why are you trying to start the active scheduler?&lt;br /&gt;&lt;br /&gt;I take it that CMsvOperationWait is an active object that you have written that is ment to wait until the asynchronous call ChangeL has completed?.&amp;nbsp; What I think you actually wanted to put in there is:&lt;br /&gt;&lt;br /&gt;TRequestStatus status;&lt;br /&gt;CMsvOperation *theOp = msgEntry-&amp;gt;ChangeL(tEntry,theWaiter-&amp;gt;status);&lt;br /&gt;CleanupStack::PushL(theOp);&lt;br /&gt;User::WaitForRequest(status);&lt;br /&gt;User::LeaveIfError(status);&lt;br /&gt;CleanupStack::PopAndDestroy(theOp);&lt;br /&gt;&lt;br /&gt;B&lt;/div&gt;</description>
 <pubDate>Mon, 01 May 2006 06:03:58 +0200</pubDate>
 <dc:creator>broberts</dc:creator>
 <guid isPermaLink="false">comment 30924 at http://www.newlc.com</guid>
</item>
<item>
 <title>Problem with making changes in sms message :</title>
 <link>http://www.newlc.com/en/topic-14160</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/en/topic-14160&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/en/topic-14160#comments</comments>
 <category domain="http://www.newlc.com/en/forums/messaging">Messaging</category>
 <pubDate>Fri, 28 Apr 2006 13:36:59 +0200</pubDate>
 <dc:creator />
 <guid isPermaLink="false">14114 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
