stason.org logo lotus


previous page: 2.2) When do I have to lock a Handle? (Memory - Mac Programming)page up: Mac Programming FAQnext page: 2.4) What about resources? (Memory - Mac Programming)

2.3) How do I dispose of Handles? (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.3) How do I dispose of Handles? (Memory - Mac Programming)

DisposeHandle (formerly called DisposHandle) once and ONLY once will
do the trick. Trying to dispose of an already disposed Handle is an
error. DoubleTrouble (see above) will catch such bugs when they do
occur.

 

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: 2.2) When do I have to lock a Handle? (Memory - Mac Programming)page up: Mac Programming FAQnext page: 2.4) What about resources? (Memory - Mac Programming)