FROM : Benjamin D. Rister
DATE : Tue Nov 13 22:04:10 2007
On Nov 13, 2007, at 3:44 PM, Uli Kusterer wrote:
> Am 13.11.2007 um 04:36 schrieb Benjamin D. Rister:
>> No Carbon UI functions, though plenty of Carbon FS functions. No
>> call to NSApplicationLoad(), either--my understanding is that
>> that's only needed if you're trying to run a Carbon event loop and
>> use Cocoa.
>
> Nope. NSApplicationLoad() is needed whenever you're calling AppKit
> functions and you're not using NSApplicationMain().
Good to know, even if it doesn't seem to be the source of this
particular problem (per my later response to Nick and Sam).
Unfortunately, it seems that calling NSApplicationLoad() triggers a
series of dialogs complaining about the command line arguments I
passed to my tool. (This is even though it doesn't take argc/argv as
parameters--it must be getting them from somewhere else...) How does
one get NSApplicationLoad() to leave my arguments alone?
Best,
br
--
Benjamin D. Rister
President
Decimus Software, Inc.
http://www.decimus.net/
DATE : Tue Nov 13 22:04:10 2007
On Nov 13, 2007, at 3:44 PM, Uli Kusterer wrote:
> Am 13.11.2007 um 04:36 schrieb Benjamin D. Rister:
>> No Carbon UI functions, though plenty of Carbon FS functions. No
>> call to NSApplicationLoad(), either--my understanding is that
>> that's only needed if you're trying to run a Carbon event loop and
>> use Cocoa.
>
> Nope. NSApplicationLoad() is needed whenever you're calling AppKit
> functions and you're not using NSApplicationMain().
Good to know, even if it doesn't seem to be the source of this
particular problem (per my later response to Nick and Sam).
Unfortunately, it seems that calling NSApplicationLoad() triggers a
series of dialogs complaining about the command line arguments I
passed to my tool. (This is even though it doesn't take argc/argv as
parameters--it must be getting them from somewhere else...) How does
one get NSApplicationLoad() to leave my arguments alone?
Best,
br
--
Benjamin D. Rister
President
Decimus Software, Inc.
http://www.decimus.net/
| Related mails | Author | Date |
|---|---|---|
| Benjamin D. Rister | Nov 12, 04:17 | |
| Nick Zitzmann | Nov 12, 21:58 | |
| Benjamin D. Rister | Nov 13, 04:36 | |
| Nick Zitzmann | Nov 13, 04:56 | |
| Sam Stigler | Nov 13, 05:42 | |
| Benjamin D. Rister | Nov 13, 20:59 | |
| Uli Kusterer | Nov 13, 21:44 | |
| Benjamin D. Rister | Nov 13, 22:04 |






Cocoa mail archive

