• 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
Relaunching my app?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Relaunching my app?


  • Subject: Relaunching my app?
  • From: Kevin Elliott <email@hidden>
  • Date: Wed, 17 Jul 2002 08:59:58 -0700

Greetings all,

I've got an app that needs to be able to relaunch itself. The first time it
runs it does some authorization stuff and then relaunches itself so it can
continue "normal" execution. The way this currently works is roughly this:

main()
{
if(notSetup)
{
doSetup
createNSTask
[myTask launch]
}
else
{
NSApplicationMain(argc, argv)
}
}

All this works fine except on faster machines. On faster machines
everything works fine, except I don't get a dock icon, which also causes
other problems with command+tab, etc. Any ideas as to how I can work around
the problem?

-Kevin Elliott
Software Engineer
CharisMac Engineering
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Cross Platform Development
  • Next by Date: Re: difference between windowDidLoad and awakeFromNib
  • Previous by thread: Re: How to determine when printing an NSView ?
  • Next by thread: Properly writing an Init method
  • Index(es):
    • Date
    • Thread