<?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 - discussion.......handles........ - Comments</title>
 <link>http://www.newlc.com/en/forum/discussion</link>
 <description>Comments for &quot;discussion.......handles........&quot;</description>
 <language>en</language>
<item>
 <title>Re: discussion.......handles........</title>
 <link>http://www.newlc.com/en/forum/discussion#comment-41398</link>
 <description>&lt;p&gt;Mr. sandeep mohapatra ,&lt;/p&gt;

&lt;p&gt;                            Handles are not  similar to pointers but with restriction ,you can  say  its  a  long pointer to some data  structure or class ,that doesnt want to any body to &lt;/p&gt;

&lt;p&gt;access   its internal data member. So handles are provided , hope this will create u r confusion.&lt;br /&gt;
                                                                 &lt;br /&gt;
                                                                                                                                                                                   Regards &lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
 <pubDate>Wed, 12 Sep 2007 10:38:22 +0200</pubDate>
 <dc:creator>swap</dc:creator>
 <guid isPermaLink="false">comment 41398 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: discussion.......handles........</title>
 <link>http://www.newlc.com/en/forum/discussion#comment-41379</link>
 <description>&lt;p&gt;Yes. Just an ID number to something.&lt;/p&gt;

&lt;p&gt;The general meaning of the english word &quot;handle&quot; applies also here somewhat.&lt;/p&gt;

&lt;p&gt;The handle is what your program keeps to &quot;hold onto&quot; whatever object, wherever it may be.&lt;/p&gt;

&lt;p&gt;The main difference to a pointer is that it doesn&#039;t have to point to the object. Or more exactly its value doesn&#039;t have to be an address into memory that is addressable by the current thread, that contains the object.&lt;br /&gt;
 It is quite common though to implement handles such that their value actually are pointers, but into an address range not accessible by the current thread. Maybe kernel memory, or memory controlled by some server thread.&lt;/p&gt;

&lt;p&gt;But the point with handles is that you don&#039;t have to care about how they are implemented, for the user, they are just an ID to something, and it can only be used with a specific set of functions.&lt;/p&gt;

&lt;p&gt;Edit&lt;br /&gt;
And just to clarify, &quot;handles&quot; is a general computer science term, and is not specific to any operating systems. In fact, most computer systems use handles in some way.&lt;/p&gt;</description>
 <pubDate>Tue, 11 Sep 2007 13:52:41 +0200</pubDate>
 <dc:creator>alh</dc:creator>
 <guid isPermaLink="false">comment 41379 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: discussion.......handles........</title>
 <link>http://www.newlc.com/en/forum/discussion#comment-41360</link>
 <description>&lt;p&gt;Questions with the word &quot;exactly&quot; in it are always the hardest to answer...&lt;/p&gt;

&lt;p&gt;Technically and basically, a handle is a number that identifies an object that is &quot;living&quot; somewhere, e.g. in the Symbian kernel. For various reasons it might not be a good idea to give a program a pointer to the object, but the object is hidden, and when you want to do something with it, you just pass its handle, its identifying number, and the object is found in a table with the help of this number before the operation starts.&lt;/p&gt;

&lt;p&gt;The similarity to pointers is this: If you somehow loose the handle of the object in your program, you will be unable to tell the manager, the holder of the object to release it, and you might produce a memory leak this way.&lt;/p&gt;

&lt;p&gt;But anyway, in another sense, a handle is exactly what you can do with it, defined by the methods that the particular handle class offers. I don&#039;t know of any situation where I would bother how exactly a file handle is implemented in Symbian: Whether the number is 16 bits, 32 bits, or even 64 bits, and whether subsequent numbers are used or only prime numbers, or whatever...&lt;/p&gt;</description>
 <pubDate>Tue, 11 Sep 2007 09:59:11 +0200</pubDate>
 <dc:creator>rbrunner</dc:creator>
 <guid isPermaLink="false">comment 41360 at http://www.newlc.com</guid>
</item>
<item>
 <title>discussion.......handles........</title>
 <link>http://www.newlc.com/en/forum/discussion</link>
 <description>&lt;p&gt;What is a handle exactly?&lt;/p&gt;

&lt;p&gt;I have been coming acrros it a lot.&lt;br /&gt;
I used to use handles in WinCe.&lt;br /&gt;
And now in Symbian also there are handles.&lt;br /&gt;
It is somewhat simmilar to pointers? but not Exactly.&lt;/p&gt;

&lt;p&gt;then wht is a handle.&lt;/p&gt;

&lt;p&gt;Last i read about handles in symbian was &lt;br /&gt;
RHandleBase:-&lt;br /&gt;
  &quot;it is a handle to an object...&quot;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/en/forum/discussion&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/en/forum/discussion#comments</comments>
 <category domain="http://www.newlc.com/en/forums/symbian-c">Symbian C++</category>
 <pubDate>Tue, 11 Sep 2007 08:07:58 +0200</pubDate>
 <dc:creator>sandeepmhptr</dc:creator>
 <guid isPermaLink="false">18922 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
