title: Mac OS X 10.8: Replacement for Lock/UnlockPixels() for the cocoa applications
body: <p>The Lock/UnlockPixels() functions located in <code>QD/QDOffScreen.h</code> under <code>ApplicationServices</code> framework has been deprecated for the 64-bit applications in which <code>Carbon</code> is not supported. Along with this API, there are also other APIs located in the same header which are also deprecated, for instance, DisposeGWorld() and NewGWorld().</p>
  
  <p>I am working on decarbonizing the application for which the application must compile successfully in 64-bit mode. Although, these APIs are not part of Carbon framework, but they work only on 32-bit mode. Is there any substitute or alternate recommendations from Apple for these APIs in the Cocoa applications?</p>