• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Application launch from plugin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Application launch from plugin (From: Laurent Michel <email@hidden>)

  • Prev by Date: Core Video for Asynchronous Frame Grabbing
  • Next by Date: WEPKEY ?
  • Previous by thread: Application launch from plugin
  • Next by thread: Re: Application launch from plugin
  • Index(es):
    • Date
    • Thread