Re: Error (1000) creating CGSWindow
Re: Error (1000) creating CGSWindow
- Subject: Re: Error (1000) creating CGSWindow
- From: Uli Kusterer <email@hidden>
- Date: Fri, 2 Nov 2007 12:24:43 +0100
Am 01.11.2007 um 21:00 schrieb David Duncan:
On Nov 1, 2007, at 10:32 AM, Dave Benvenuti wrote:
Another thing that might help - I'm using eggplant, which is a VNC-
based automation tool, which runs on a remote machine and basically
runs scripts which interact with the UI. I noticed the Apple VNC
Server process was pretty pegged, along with my app.
I don't suppose something in these interactions is creating a larger
number of windows? Typically these types of failures are due to just
having too many windows around. You might want to check the window
listing from Quartz Debug for your application to see how many
windows you have created.
I had such an error in two cases, IIRC:
1) I had an accidental endless recursion that always caused one window
to be created, and then accidentally triggered the same code again
during set-up of this window.
2) I was doing some GUI thing from a thread other than the main
thread, which royally confused AppKit.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden