|
-
April 21st, 1999, 09:47 AM
#1
Handle & pointer
What is the difference between a handle and a pointer ?
Thanks in advance.
-
April 21st, 1999, 10:00 AM
#2
Re: Handle & pointer
A handle is a unique number, whereas a pointer points to a memory location. In some cases it's the same. For instance a HWND is a unique number for an application, but for the system it's a pointer to a memory block.
Martin
-
April 21st, 1999, 04:08 PM
#3
Re: Handle & pointer
A HANDLE is an index to an internal table that the operating system maintains for all executive objects. It is in that table
that the OS can look up information about the object in question.
A pointer just "points" to a raw block of memory.
Dan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|