[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Creating NSImage in a tool
From: |
Chris B. Vetter |
Subject: |
Re: Creating NSImage in a tool |
Date: |
Mon, 13 Feb 2006 16:47:17 +0100 |
On 2/13/06, Stefan Urbanek <stefan@agentfarms.net> wrote:
> Hi,
> I need a tool that will take some inputs and will generate one or more TIFFS.
> I
> am trying to create an image in a tool under MS Windows like this:
[...]
> c:\Documents and Settings\b_urbanek\Desktop\gstest\shared_obj\test.exe:
> Uncaught
> exception WindowServerCommunication, reason: Unable to retrieve list of
> screens
> from window server.
Changing it to
NSAutoreleasePool *pool = [NSAutoreleasePool new];
[NSApplication sharedApplication];
create_image();
should do the trick. This will open a connection to the window server
but not enter the application run loop.
--
Chris
- Creating NSImage in a tool, Stefan Urbanek, 2006/02/13
- Re: Creating NSImage in a tool,
Chris B. Vetter <=
- Re: Creating NSImage in a tool, Sheldon Gill, 2006/02/13
- Re: Creating NSImage in a tool, Alex Perez, 2006/02/15
- Re: Creating NSImage in a tool, Sheldon Gill, 2006/02/16
- Re: Creating NSImage in a tool, Richard Frith-Macdonald, 2006/02/16
- Re: Creating NSImage in a tool, Sheldon Gill, 2006/02/16
- Re: Creating NSImage in a tool, Richard Frith-Macdonald, 2006/02/16
- Base enforcing permissions policy on Config file, Sheldon Gill, 2006/02/23
- Re: Base enforcing permissions policy on Config file, Richard Frith-Macdonald, 2006/02/23
- Re: Base enforcing permissions policy on Config file, Andrew Ruder, 2006/02/24
- Re: Base enforcing permissions policy on Config file, Sheldon Gill, 2006/02/24