On 2/13/06, Stefan Urbanek <[EMAIL PROTECTED]> 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


_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to