<?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 - Write an asynchronous method - Comments</title>
 <link>http://www.newlc.com/en/topic-10037</link>
 <description>Comments for &quot;Write an asynchronous method&quot;</description>
 <language>en</language>
<item>
 <title>Re: Write an asynchronous method</title>
 <link>http://www.newlc.com/en/topic-10037#comment-24197</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;place your code inside the RunL(), also break down the search into steps - basically create a state machine&lt;br /&gt;&lt;br /&gt;In your search function call your own runl&lt;br /&gt;&lt;br /&gt;TRequestStatus* ptr = &amp;amp;iStatus;&lt;br /&gt;iStatus = KRequestPending;&lt;br /&gt;SetActive();&lt;br /&gt;User::RequestComplete(ptr, KErrNone);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Don&amp;#039;t forget to store the clients aStatus value, and when your finished you inform the client that the search is over with&lt;br /&gt;User::RequestComplete(iClientStatus, KErrNone);&lt;/div&gt;</description>
 <pubDate>Wed, 24 Aug 2005 17:59:17 +0200</pubDate>
 <dc:creator>mc_woods</dc:creator>
 <guid isPermaLink="false">comment 24197 at http://www.newlc.com</guid>
</item>
<item>
 <title>Write an asynchronous method</title>
 <link>http://www.newlc.com/en/topic-10037</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-10037&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/en/topic-10037#comments</comments>
 <category domain="http://www.newlc.com/en/forums/symbian-c">Symbian C++</category>
 <pubDate>Wed, 24 Aug 2005 17:43:43 +0200</pubDate>
 <dc:creator>bernie31</dc:creator>
 <guid isPermaLink="false">10457 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
