CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Guest

    Handles and Pointers

    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.


  2. #2
    Join Date
    Apr 1999
    Posts
    383

    Re: Handles and Pointers

    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


  3. #3
    Guest

    Re: Handles and Pointers

    I had asked the same question before...see the next page for answers to my question.




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured