Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error (1000) creating CGSWindow



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Error (1000) creating CGSWindow (From: Dave Benvenuti <email@hidden>)
 >Re: Error (1000) creating CGSWindow (From: David Duncan <email@hidden>)
 >Re: Error (1000) creating CGSWindow (From: Dave Benvenuti <email@hidden>)
 >Re: Error (1000) creating CGSWindow (From: David Duncan <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.