• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Grabbing screen - kern bad access
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grabbing screen - kern bad access


  • Subject: Re: Grabbing screen - kern bad access
  • From: Andrew Farmer <email@hidden>
  • Date: Sun, 15 Oct 2006 22:14:00 -0700

On 15 Oct 06, at 22:07, Gábor Németh wrote:
I am a beginner in the field of Cocoa, so please forgive me if this is a RTFM style question, however i've did a good amount of googling before writing here, so even a pointer to the appropriate place in the manual is appreciated.
I've defined a simple form with an NSImageView and an NSButton. When the button is pressed the program should grab the contents of the screen, and place it in the NSImageView. For further processing, the NSImageview is just a POC control.

There's a better way to do the grab. It's not documented, so it's a little bit magic, but it's how Grab.app works, so it should work fine for the time being. I've posted about it previously - see http:// www.cocoabuilder.com/archive/message/cocoa/2006/7/20/167950 for some sample code. _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >Grabbing screen - kern bad access (From: Gábor Németh <email@hidden>)

  • Prev by Date: Grabbing screen - kern bad access
  • Next by Date: Error with [pluginBundle infoDictionary]
  • Previous by thread: Grabbing screen - kern bad access
  • Next by thread: Error with [pluginBundle infoDictionary]
  • Index(es):
    • Date
    • Thread