Relaunching my app?
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.