[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to Build a Tool that uses NSApplication...
From: |
Matt Rice |
Subject: |
Re: How to Build a Tool that uses NSApplication... |
Date: |
Sun, 5 Nov 2006 21:47:29 -0800 (PST) |
--- Matt Rice <ratmice@yahoo.com> wrote:
>
>
> --- Christopher Armstrong
> <carmstrong@fastmail.com.au>
> wrote:
>
> > > Basically I want to build a tool that does some
> > processing of NSImages
> > > (but never displays them).
> > >
> > > Okay, but when I use the following make file:
>
> <snip>
>
> it might also worth noting that you may be required
> to
> run [NSApplication sharedApplication];
>
> even though you never use NSApp.
>
ok i didn't really explain this very well
if you can avoid running -sharedApplication, you'll
want to as it will stop your tool from running when
its unable to make a connection to an x server (under
x11 based backends). but sometimes its unavoidable.
____________________________________________________________________________________
Low, Low, Low Rates! Check out Yahoo! Messenger's cheap PC-to-Phone call rates
(http://voice.yahoo.com)