stason.org logo lotus


previous page: 1.18) I'm trying to use a largish array in Think C, but get a "code overflow" error. This is valid C, why doesn't it work? (Mac Programming)page up: Mac Programming FAQnext page: 2.2) When do I have to lock a Handle? (Memory - Mac Programming)

2.1) What is a handle? (Memory - Mac Programming)

 Books
 TULARC
















Description

This article is from the Mac Programming FAQ, by Jon Watte h+@austin.metrowerks.com with numerous contributions by others.

2.1) What is a handle? (Memory - Mac Programming)

A handle is a pointer to a pointer to something. However, it is more
than that; creating a handle by taking the address of one of your own
pointers does NOT create a Handle; the Memory Manager will only deal
properly with Handles that are created using NewHandle or something that
calls it (such as NewRgn or GetResource).

 

Continue to:


Share and Enjoy

Bookmark this story so others can enjoy it:
  • digg
  • Reddit
  • del.icio.us
  • Furl
  • Wists

Tags

os, Mac, macintosh, apple, programming, software







TOP
previous page: 1.18) I'm trying to use a largish array in Think C, but get a "code overflow" error. This is valid C, why doesn't it work? (Mac Programming)page up: Mac Programming FAQnext page: 2.2) When do I have to lock a Handle? (Memory - Mac Programming)