<?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 - loading multiple images problem using CMdaImageFileToBitmapUtility - Comments</title>
 <link>http://www.newlc.com/en/topic-16676</link>
 <description>Comments for &quot;loading multiple images problem using CMdaImageFileToBitmapUtility&quot;</description>
 <language>en</language>
<item>
 <title>Re: loading multiple images problem using CMdaImageFileToBitmapU</title>
 <link>http://www.newlc.com/en/topic-16676#comment-35757</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;hi sathish,&lt;br /&gt;&lt;br /&gt;thx for the reply, but Reset() is not working.&lt;br /&gt;&lt;br /&gt;i use watch to debug. the Value of iCoverAlbum is always the same.&lt;br /&gt;&lt;br /&gt;-Ronald&lt;/div&gt;</description>
 <pubDate>Wed, 15 Nov 2006 08:52:52 +0100</pubDate>
 <dc:creator>Rx-lee</dc:creator>
 <guid isPermaLink="false">comment 35757 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: loading multiple images problem using CMdaImageFileToBitmapU</title>
 <link>http://www.newlc.com/en/topic-16676#comment-35756</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Hi,&lt;br /&gt;&lt;br /&gt;I am not sure, but you can try Reset();&lt;br /&gt;&lt;br /&gt;Regards&lt;/div&gt;</description>
 <pubDate>Wed, 15 Nov 2006 07:07:50 +0100</pubDate>
 <dc:creator>sathish.sh</dc:creator>
 <guid isPermaLink="false">comment 35756 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: loading multiple images problem using CMdaImageFileToBitmapU</title>
 <link>http://www.newlc.com/en/topic-16676#comment-35755</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;hi andreas,&lt;br /&gt;&lt;br /&gt;rite now i can load 2 different images. but instead of using the same iCoverAlbum, i create 2 CFbsBitmap* variable to save the image of temp and temp2 and then append it to the array. so i guess the code went wrong when using the same CFbsbitmap* variable to save the different image. any idea why this is happen?&lt;br /&gt;&lt;br /&gt;below is some of my snippet code&lt;br /&gt;&lt;div class=&quot;codeheader&quot;&gt;Code:&lt;/div&gt;&lt;div class=&quot;code&quot;&gt;void CLoadmultibmpContainer::MiuoOpenComplete(TInt aError)&lt;br /&gt;{&lt;br /&gt;...&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;TInt err;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;if(iIndexLoadCoverPlaylist == 0)&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;err = iDrawList3a-&amp;gt;Create(frameInfo.iOverallSizeInPixels,KDeviceColourDepth);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;if(iIndexLoadCoverPlaylist == 1)&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;err = iDrawList3b-&amp;gt;Create(frameInfo.iOverallSizeInPixels,KDeviceColourDepth);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;br /&gt;...&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void CLoadmultibmpContainer::ConvertingFromGifFinished(TInt aError)&lt;br /&gt;{&lt;br /&gt;...&lt;br /&gt;if(iIndexLoadCoverPlaylist == 0)&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iTempCover-&amp;gt;AppendL(*iDrawList3a);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;if(iIndexLoadCoverPlaylist == 1)&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iTempCover-&amp;gt;AppendL(*iDrawList3b);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;br /&gt;...&lt;br /&gt;}&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;the problem is i dont know how many files to be load. so it cant work this way. plz help andreas/anyone...&lt;br /&gt;&lt;br /&gt;-Ronald&lt;/div&gt;</description>
 <pubDate>Wed, 15 Nov 2006 04:31:07 +0100</pubDate>
 <dc:creator>Rx-lee</dc:creator>
 <guid isPermaLink="false">comment 35755 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: loading multiple images problem using CMdaImageFileToBitmapU</title>
 <link>http://www.newlc.com/en/topic-16676#comment-35754</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;hi andreas,&lt;br /&gt;&lt;br /&gt;i just did what u&amp;#039;ve told. the index is correct. dunno what went wrong. &lt;br /&gt;is it something related to CActiveScheduler? any idea?&lt;br /&gt;&lt;br /&gt;Ronald&lt;/div&gt;</description>
 <pubDate>Mon, 13 Nov 2006 15:37:16 +0100</pubDate>
 <dc:creator>Rx-lee</dc:creator>
 <guid isPermaLink="false">comment 35754 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: loading multiple images problem using CMdaImageFileToBitmapU</title>
 <link>http://www.newlc.com/en/topic-16676#comment-35753</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Hi, quick walkthrough and I didn&amp;#039;t find any errors. You:&lt;br /&gt;&lt;ul style=&quot;margin-top: 0; margin-bottom: 0;&quot;&gt;&lt;li&gt;first open a gif file&lt;/li&gt;&lt;li&gt;when open completes&lt;/li&gt;&lt;li&gt;call convert, then when it is finished, add the first bitmap converted to the array, then&lt;/li&gt;&lt;li&gt;again open the next gif file, repeating the process.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;This should be correct. Counters seem to be used correctly too.&lt;br /&gt;&lt;br /&gt;Have you placed brakepoints at the beginning of each function to see what really happens? I cannot suggest anything else than just to debug to see what goes wrong, since I cannot see anything in the code.&lt;/div&gt;</description>
 <pubDate>Mon, 13 Nov 2006 12:05:55 +0100</pubDate>
 <dc:creator>Andreas</dc:creator>
 <guid isPermaLink="false">comment 35753 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: loading multiple images problem using CMdaImageFileToBitmapU</title>
 <link>http://www.newlc.com/en/topic-16676#comment-35752</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;hi andreas,&lt;br /&gt;thx for the reply.&lt;br /&gt;&lt;br /&gt;below is some part of my codes&lt;br /&gt;&lt;div class=&quot;codeheader&quot;&gt;Code:&lt;/div&gt;&lt;div class=&quot;code&quot;&gt;void CLoadmultibmpContainer::startLoadFile()&lt;br /&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;TBuf&amp;lt;50&amp;gt; temp,temp2;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;temp.Copy(_L(&amp;quot;c:\\loadbitmap\\tempImageJ90001&amp;quot;));&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;temp2.Copy(_L(&amp;quot;c:\\loadbitmap\\tempImageJ90002&amp;quot;));&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;if(iPathTempCover){delete iPathTempCover;iPathTempCover=NULL;}&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iPathTempCover = new (ELeave) CArrayFixFlat&amp;lt;TFile&amp;gt; (1);&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;TFile a;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;a.iBufferPath.Zero();&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;a.iBufferPath.Copy(temp);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iPathTempCover-&amp;gt;AppendL(a);&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;a.iBufferPath.Zero();&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;a.iBufferPath.Copy(temp2);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iPathTempCover-&amp;gt;AppendL(a);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iIndexLoadCoverPlaylist = 0;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;//for(TInt i=0; i&amp;lt;iPathTempCover-&amp;gt;Count(); i++)&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;//iEikonEnv-&amp;gt;InfoWinL(_L(&amp;quot;path&amp;quot;),(*iPathTempCover)[iIndexLoadCoverPlaylist].iBufferPath);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iFileBitmapLoader-&amp;gt;OpenL((*iPathTempCover)[iIndexLoadCoverPlaylist].iBufferPath);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;br /&gt;}&lt;br /&gt;void CLoadmultibmpContainer::MiuoCreateComplete(TInt /*aError*/)&lt;br /&gt;{&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void CLoadmultibmpContainer::MiuoOpenComplete(TInt aError)&lt;br /&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;if (aError == KErrNone)&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iConvertState = EConvertStateConvertingFromGif;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;TFrameInfo frameInfo;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iFileBitmapLoader-&amp;gt;FrameInfo(0,frameInfo);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;//Create a bitmap based on the size of the gif&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;if (iCoverAlbum){delete iCoverAlbum;iCoverAlbum = NULL;}&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iCoverAlbum = new(ELeave) CFbsBitmap();&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;TInt err = iCoverAlbum-&amp;gt;Create(frameInfo.iOverallSizeInPixels,KDeviceColourDepth);&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;if (err == KErrCouldNotConnect)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iEikonEnv-&amp;gt;InfoWinL(_L(&amp;quot;KErrCouldNotConnect&amp;quot;),_L(&amp;quot;&amp;quot;));&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;return;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (err == KErrArgument)&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iEikonEnv-&amp;gt;InfoWinL(_L(&amp;quot;KErrArgument&amp;quot;),_L(&amp;quot;&amp;quot;));&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;return;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;TRAPD(convertErr,iFileBitmapLoader-&amp;gt;ConvertL(*iCoverAlbum,0));&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;if (convertErr != KErrNone)&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iEikonEnv-&amp;gt;InfoWinL(_L(&amp;quot;!KErrNone&amp;quot;),_L(&amp;quot;&amp;quot;));&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;return;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;else if (aError == KErrUnderflow)&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iEikonEnv-&amp;gt;InfoWinL(_L(&amp;quot;KErrUnderflow&amp;quot;),_L(&amp;quot;&amp;quot;));&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;//TRAPD(err,iFileBitmapLoader-&amp;gt;OpenL(iDescCoverAlbum-&amp;gt;Des()));&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;//TRAPD(err,iFileBitmapLoader-&amp;gt;OpenL(_L(&amp;quot;c:\\loadbitmap\\tempCover&amp;quot;)));&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;return;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;else&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;TBuf&amp;lt;10&amp;gt; temp;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;temp.Format(KNumber,aError);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iEikonEnv-&amp;gt;InfoWinL(_L(&amp;quot;other error&amp;quot;),temp);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;return;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void CLoadmultibmpContainer::MiuoConvertComplete(TInt aError)&lt;br /&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;switch (iConvertState)&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;//Finished converting gif file to bitmap&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;case EConvertStateConvertingFromGif:&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;ConvertingFromGifFinished(aError);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;break;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;case EConvertStateNull:&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;default:&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;ASSERT(FALSE);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;//This function is called when conversion has finished&lt;br /&gt;void CLoadmultibmpContainer::ConvertingFromGifFinished(TInt aError)&lt;br /&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;if (aError == KErrNone)&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;{&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iConvertState = EConvertStateReady;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iTempCover-&amp;gt;AppendL(*iCoverAlbum);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iFileBitmapLoader-&amp;gt;Close();&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iIndexLoadCoverPlaylist++;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;if(iIndexLoadCoverPlaylist == iPathTempCover-&amp;gt;Count())&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;if (iTempCover-&amp;gt;Count() &amp;gt; 0)&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iDrawState = EDrawList;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;DrawNow();&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;else &lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iDrawState = EDrawMain;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;DrawNow();&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;else&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iFileBitmapLoader-&amp;gt;OpenL((*iPathTempCover)[iIndexLoadCoverPlaylist].iBufferPath);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;else&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iEikonEnv-&amp;gt;InfoWinL(_L(&amp;quot;&amp;quot;),_L(&amp;quot;Error converting file&amp;quot;));&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;when i use that codes, it works, but the image to be drawn is same &amp;quot;tempImageJ90002&amp;quot; (the latter) for both iTempCover array.&lt;br /&gt;maybe that connected to the async problem.&lt;br /&gt;&lt;br /&gt;any idea how to solve it? &lt;br /&gt;&lt;br /&gt;Ronald&lt;/div&gt;</description>
 <pubDate>Mon, 13 Nov 2006 10:09:01 +0100</pubDate>
 <dc:creator>Rx-lee</dc:creator>
 <guid isPermaLink="false">comment 35752 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: loading multiple images problem using CMdaImageFileToBitmapU</title>
 <link>http://www.newlc.com/en/topic-16676#comment-35751</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;What kind of problems? How the asynchronousness relates to the problems?&lt;br /&gt;&lt;br /&gt;Can&amp;#039;t you start loading a new bitmap when the previous is loaded?&lt;/div&gt;</description>
 <pubDate>Fri, 10 Nov 2006 14:49:30 +0100</pubDate>
 <dc:creator>Andreas</dc:creator>
 <guid isPermaLink="false">comment 35751 at http://www.newlc.com</guid>
</item>
<item>
 <title>loading multiple images problem using CMdaImageFileToBitmapUtility</title>
 <link>http://www.newlc.com/en/topic-16676</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-16676&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/en/topic-16676#comments</comments>
 <category domain="http://www.newlc.com/en/forums/2d-3d-graphics">Bitmaps and Graphics</category>
 <pubDate>Fri, 10 Nov 2006 14:12:38 +0100</pubDate>
 <dc:creator>Rx-lee</dc:creator>
 <guid isPermaLink="false">16293 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
