Click to See Complete Forum and Search --> : Handles and Pointers


April 23rd, 1999, 07:38 AM
Hi there,
I thought that handle and pointers were the same thing. Now I've found out they are two different things.
Anyone can explain me what's the difference?
Thank you for your help.
Bye.

Dave Lorde
April 23rd, 1999, 11:01 AM
It depends on the handle. Sometimes they are just pointers to some internal object representation. Sometimes they are an index into a list or buffer or other storage facility. Sometimes they are arbitrary unique IDs.

The point is, it's an implementation detail, you don't need to know about it, and shouldn't assume a handle has any external meaning.

Dave

April 23rd, 1999, 01:14 PM
I had asked the same question before...see the next page for answers to my question.