Thread: handles vs pointers

  1. #1
    Registered User
    Join Date
    Aug 2002
    Posts
    170

    handles vs pointers

    What is the difference between a handle and a pointer. I guess I always that that they were the same thing. But lately I have come to realize that they are not the same thing, at least not interchangable.

    Is there some doc on this, or can someone please explain this to me?
    Best Regards,

    Bonkey

  2. #2
    julie lexx... btq's Avatar
    Join Date
    Jun 2002
    Posts
    161
    int *ptr <-- pointer to int
    int **ptr <--- pointer to pointer to int (handle)

    so they are quite different...
    guess that's it

    /btq
    ...viewlexx - julie lexx

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Using pointers to pointers
    By steve1_rm in forum C Programming
    Replies: 18
    Last Post: 05-29-2008, 05:59 AM
  2. Replies: 4
    Last Post: 12-10-2006, 07:08 PM
  3. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM
  4. Staticly Bound Member Function Pointers
    By Polymorphic OOP in forum C++ Programming
    Replies: 29
    Last Post: 11-28-2002, 01:18 PM