Re: Application launch from plugin
Re: Application launch from plugin
- Subject: Re: Application launch from plugin
- From: Damien Bobillot <email@hidden>
- Date: Tue, 5 Jul 2005 17:20:24 +0200
Le 5 juil. 05 à 00:01, Laurent Michel a écrit :
- It calls _objcInit()
- It calls NSApplicationLoad() (return value is true)
- It calls app = [NSApplication sharedApplication]
- It uses [NSBundle loadNibFile ... ] to load a nib file
- It calls [app run]
Did you try to use NSApplicationMain() directly ? It does all this
and things you'll forgotten in a single call.
Also try to replace "app" by "NSApp" : NSApp is a global variable
automatically setup by NSApplicationMain. It must contains the
application object, and in your example it may be set to its default
value, nil.
--
Damien Bobillot
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden