<?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 comparing str - Comments</title>
 <link>http://www.newlc.com/topic-7565</link>
 <description>Comments for &quot;problem with comparing str&quot;</description>
 <language>en</language>
<item>
 <title>problem with comparing str</title>
 <link>http://www.newlc.com/topic-7565#comment-19344</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;doesnt it have any name? &lt;img src=&quot;/sites/all/modules/smf_filter/smf_smileys/smiley.gif&quot; alt=&quot;Smiley&quot; border=&quot;0&quot; /&gt;&lt;/div&gt;</description>
 <pubDate>Wed, 11 May 2005 14:27:10 +0200</pubDate>
 <dc:creator>chishti_hameed</dc:creator>
 <guid isPermaLink="false">comment 19344 at http://www.newlc.com</guid>
</item>
<item>
 <title>problem with comparing str</title>
 <link>http://www.newlc.com/topic-7565#comment-19343</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Tricky question.&lt;br /&gt;&lt;br /&gt;Offically, Security::NewL - &amp;nbsp;&amp;quot;Chooses the strongest avialable cypher&amp;quot;&lt;br /&gt;&lt;br /&gt;What that is depends on the phone/sdk, so there isn&#039;t one anwser.&lt;/div&gt;</description>
 <pubDate>Wed, 11 May 2005 13:27:48 +0200</pubDate>
 <dc:creator>didster</dc:creator>
 <guid isPermaLink="false">comment 19343 at http://www.newlc.com</guid>
</item>
<item>
 <title>Cipher Example</title>
 <link>http://www.newlc.com/topic-7565#comment-19342</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;do u know what algorithm &amp;quot;Cipher Example&amp;quot; which comes with sdk uses for encryption/decryption?&lt;/div&gt;</description>
 <pubDate>Wed, 11 May 2005 12:07:42 +0200</pubDate>
 <dc:creator>chishti_hameed</dc:creator>
 <guid isPermaLink="false">comment 19342 at http://www.newlc.com</guid>
</item>
<item>
 <title>problem with comparing str</title>
 <link>http://www.newlc.com/topic-7565#comment-19341</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;a href=&quot;http&amp;#58;//www.newlc.com/article.php3?id_article=773&amp;amp;var_recherche=descriptors&quot; target=&quot;_blank&quot;&gt;http://www.newlc.com/article.php3?id_article=773&amp;amp;var_recherche=descriptors&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Plus others on here&lt;/div&gt;</description>
 <pubDate>Wed, 11 May 2005 12:02:01 +0200</pubDate>
 <dc:creator>didster</dc:creator>
 <guid isPermaLink="false">comment 19341 at http://www.newlc.com</guid>
</item>
<item>
 <title>:-)</title>
 <link>http://www.newlc.com/topic-7565#comment-19340</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;MY 1000000000 POINTS to you &lt;img src=&quot;/sites/all/modules/smf_filter/smf_smileys/smiley.gif&quot; alt=&quot;Smiley&quot; border=&quot;0&quot; /&gt; &lt;br /&gt;that was really nice way explaining &lt;img src=&quot;/sites/all/modules/smf_filter/smf_smileys/smiley.gif&quot; alt=&quot;Smiley&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&amp;quot;There are plently of tutorials on descriptors, go have a read. &amp;quot; &lt;br /&gt;&lt;br /&gt;i did search in net but didnt find any explaining this way as u did, do u know any url?&lt;/div&gt;</description>
 <pubDate>Wed, 11 May 2005 11:54:11 +0200</pubDate>
 <dc:creator>chishti_hameed</dc:creator>
 <guid isPermaLink="false">comment 19340 at http://www.newlc.com</guid>
</item>
<item>
 <title>problem with comparing str</title>
 <link>http://www.newlc.com/topic-7565#comment-19339</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Descriptors _are_ things like CString.&lt;br /&gt;&lt;br /&gt;Never ever do you deal with raw char[]/wchar_t[] arrys. &amp;nbsp;Descriptors provide length management, searching functions, and all that - just like CString does.&lt;br /&gt;&lt;br /&gt;What I mean is the differece between them is internally, TDes8 stores char[] and TDes16 stores wchat_t[]. &amp;nbsp;You don&#039;t notice the difference.&lt;br /&gt;&lt;br /&gt;In realility, you really manly use TDes (which as I said, is TDes16 really) for strings. &amp;nbsp;TDes8 is usually always used day-to-day for binary data.&lt;br /&gt;&lt;br /&gt;Only when you get the odd occasional app that needs its strings in ASCII format, do you use TDes8 for strings. &amp;nbsp;Perhaps you want to write out a ASCII text file or something.&lt;br /&gt;&lt;br /&gt;Nativaly, Symbian OS uses Unicode strings, so most API&#039;s take Unicode strings.&lt;br /&gt;&lt;br /&gt;The &amp;quot;difference&amp;quot; (wrong word) is basically (this is TDes16 but the same applies for TDes8):&lt;br /&gt;&lt;br /&gt;TDes is an abstract base class.&lt;br /&gt;TBuf derives from TDes and actually owns the data it stores (thing CString)&lt;br /&gt;TPtr dervices from TDes, but doesn&#039;t own the data it stores - the data is else where and TPtr manuipliates this data.&lt;br /&gt;&lt;br /&gt;You then have all the same again with the const variants (C on the end) which are the same, but they can only read the data they refrence, not modify it.&lt;br /&gt;&lt;br /&gt;There are plently of tutorials on descriptors, go have a read.&lt;/div&gt;</description>
 <pubDate>Wed, 11 May 2005 10:55:48 +0200</pubDate>
 <dc:creator>didster</dc:creator>
 <guid isPermaLink="false">comment 19339 at http://www.newlc.com</guid>
</item>
<item>
 <title>TBuf</title>
 <link>http://www.newlc.com/topic-7565#comment-19338</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;what about : TBuf &amp;nbsp; and stuff like that?&lt;/div&gt;</description>
 <pubDate>Wed, 11 May 2005 10:48:59 +0200</pubDate>
 <dc:creator>chishti_hameed</dc:creator>
 <guid isPermaLink="false">comment 19338 at http://www.newlc.com</guid>
</item>
<item>
 <title>cool</title>
 <link>http://www.newlc.com/topic-7565#comment-19337</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;is there smth like &amp;nbsp;CString(MFC) in Symbian?&lt;/div&gt;</description>
 <pubDate>Wed, 11 May 2005 10:48:06 +0200</pubDate>
 <dc:creator>chishti_hameed</dc:creator>
 <guid isPermaLink="false">comment 19337 at http://www.newlc.com</guid>
</item>
<item>
 <title>problem with comparing str</title>
 <link>http://www.newlc.com/topic-7565#comment-19336</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Talking characters (strings)&lt;br /&gt;&lt;br /&gt;TDes8 holds 8-bit ASCII data&lt;br /&gt;TDes16 holds 16-bit Unicode data.&lt;br /&gt;TDes is a type def for TDes16.&lt;br /&gt;&lt;br /&gt;So in Windows speak, you&#039;d use TDes8 where you would use char* and TDes16 where you would use wchar_t*.&lt;br /&gt;&lt;br /&gt;Since TDes8 stores things 8-bits wide, and it&#039;s length counted, it can also be used (and is extensivly used) to store raw binary data.&lt;/div&gt;</description>
 <pubDate>Wed, 11 May 2005 10:45:25 +0200</pubDate>
 <dc:creator>didster</dc:creator>
 <guid isPermaLink="false">comment 19336 at http://www.newlc.com</guid>
</item>
<item>
 <title>problem with comparing str</title>
 <link>http://www.newlc.com/topic-7565#comment-19335</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;buff = Buffer realted stuff&lt;br /&gt;&lt;br /&gt;whats difference between TDes16 and TDes8 &lt;img src=&quot;/sites/all/modules/smf_filter/smf_smileys/huh.gif&quot; alt=&quot;Huh&quot; border=&quot;0&quot; /&gt;?&lt;/div&gt;</description>
 <pubDate>Wed, 11 May 2005 10:42:03 +0200</pubDate>
 <dc:creator>chishti_hameed</dc:creator>
 <guid isPermaLink="false">comment 19335 at http://www.newlc.com</guid>
</item>
<item>
 <title>problem with comparing str</title>
 <link>http://www.newlc.com/topic-7565#comment-19334</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;int to des and des to int are simple - TDes.AppendNum and TLex.Val.&lt;br /&gt;&lt;br /&gt;Once you have a des, you can then if you really want to get a wchar_t* by using Ptr().&lt;br /&gt;&lt;br /&gt;If you want a char*, then convert the TDes16 to a TDes8 using .Copy and then use Ptr() on the des8.&lt;br /&gt;&lt;br /&gt;Whats &amp;quot;buff&amp;quot;?&lt;/div&gt;</description>
 <pubDate>Wed, 11 May 2005 10:23:10 +0200</pubDate>
 <dc:creator>didster</dc:creator>
 <guid isPermaLink="false">comment 19334 at http://www.newlc.com</guid>
</item>
<item>
 <title>hmmm</title>
 <link>http://www.newlc.com/topic-7565#comment-19333</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;well i wanna know following : &lt;br /&gt;conerting:&lt;br /&gt;&lt;br /&gt;char -&amp;gt; str&lt;br /&gt;buff -&amp;gt; str&lt;br /&gt;str -&amp;gt; buff&lt;br /&gt;int -&amp;gt; str&lt;br /&gt;str -&amp;gt; int &lt;br /&gt;&lt;br /&gt;TDes? TDesC? e.t.c...? and other stuff like this&lt;/div&gt;</description>
 <pubDate>Wed, 11 May 2005 05:46:17 +0200</pubDate>
 <dc:creator>chishti_hameed</dc:creator>
 <guid isPermaLink="false">comment 19333 at http://www.newlc.com</guid>
</item>
<item>
 <title>problem with comparing str</title>
 <link>http://www.newlc.com/topic-7565#comment-19332</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Type conversion? &amp;nbsp;Na, not that I know of.&lt;br /&gt;&lt;br /&gt;It&#039;s not that tricky though.&lt;br /&gt;&lt;br /&gt;What ya wanna know?&lt;/div&gt;</description>
 <pubDate>Tue, 10 May 2005 16:49:33 +0200</pubDate>
 <dc:creator>didster</dc:creator>
 <guid isPermaLink="false">comment 19332 at http://www.newlc.com</guid>
</item>
<item>
 <title>.</title>
 <link>http://www.newlc.com/topic-7565#comment-19331</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;btw is there any good article about &amp;quot;type convertion&amp;quot; &amp;nbsp;in SymbianOS? &lt;br /&gt;&lt;br /&gt;it seems really hard as comparing to VC++/MFC stuff WinOS. &lt;img src=&quot;/sites/all/modules/smf_filter/smf_smileys/sad.gif&quot; alt=&quot;Sad&quot; border=&quot;0&quot; /&gt;&lt;/div&gt;</description>
 <pubDate>Tue, 10 May 2005 16:21:58 +0200</pubDate>
 <dc:creator>chishti_hameed</dc:creator>
 <guid isPermaLink="false">comment 19331 at http://www.newlc.com</guid>
</item>
<item>
 <title>:P</title>
 <link>http://www.newlc.com/topic-7565#comment-19330</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;I&#039;m able to send simple text and getting sms too ... &lt;img src=&quot;/sites/all/modules/smf_filter/smf_smileys/smiley.gif&quot; alt=&quot;Smiley&quot; border=&quot;0&quot; /&gt; &lt;br /&gt;&lt;br /&gt;HELP MAN &lt;img src=&quot;/sites/all/modules/smf_filter/smf_smileys/smiley.gif&quot; alt=&quot;Smiley&quot; border=&quot;0&quot; /&gt;&lt;/div&gt;</description>
 <pubDate>Tue, 10 May 2005 16:19:47 +0200</pubDate>
 <dc:creator>chishti_hameed</dc:creator>
 <guid isPermaLink="false">comment 19330 at http://www.newlc.com</guid>
</item>
<item>
 <title>problem with comparing str</title>
 <link>http://www.newlc.com/topic-7565</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/topic-7565&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/topic-7565#comments</comments>
 <category domain="http://www.newlc.com/forums/nokia-series-60">Nokia S60</category>
 <pubDate>Tue, 10 May 2005 08:20:44 +0200</pubDate>
 <dc:creator />
 <guid isPermaLink="false">8176 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
