Command line tool using NSImage?
Command line tool using NSImage?
- Subject: Command line tool using NSImage?
- From: Jaime Magiera <email@hidden>
- Date: Sat, 21 Aug 2010 03:26:45 -0400
Hello,
I've got a OSX command line tool that I wish to run in a shell and via a WebObjects application. The binary tool is linked to a framework I wrote which contains NSImage manipulations. It seems the [NSApplication sharedApplication] trick isn't working. I'm still getting...
Aug 21 02:56:45 node2 MyApp[28773]: An uncaught exception was raised
Aug 21 02:56:45 node2 MyApp[28773]: Error (1002) creating CGSWindow
Aug 21 02:56:45 node2 MyApp[28773]: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error (1002) creating CGSWindow'
The binary is running on Leopard. Are there any ways to run NSImage methods in a command line app run remotely? Did I perhaps miss a step?
thanks for any info,
Jaime Magiera
Sensory Research, Inc.
http://www.sensoryresearch.net
_______________________________________________
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