On Sep 10, 2009, at 7:32 AM, Jason Foreman wrote:
I am attempting to use the CGWindowListCreateImage function to
capture a desktop screenshot. The following code (taken straight
from the SonOfGrab sample) works on Leopard, but is failing on Snow
Leopard:
CGImageRef screenShot =
On Sep 10, 2009, at 12:34 PM, David Duncan wrote:
On Sep 10, 2009, at 7:32 AM, Jason Foreman wrote:
CGImageRef screenShot = CGWindowListCreateImage(CGRectInfinite,
kCGWindowListOptionOnScreenOnly, kCGNullWindowID,
kCGWindowImageDefault);
On Snow Leopard, the CGImageRef is NULL and the