Re: App failing when launched from Finder but not when launched from Project Builder ?
Re: App failing when launched from Finder but not when launched from Project Builder ?
- Subject: Re: App failing when launched from Finder but not when launched from Project Builder ?
- From: Andreas Monitzer <email@hidden>
- Date: Mon, 3 Dec 2001 22:37:54 +0100
On Monday, December 3, 2001, at 10:19 , Thomas Deniau wrote:
When I launch my app from Project Builder, it works fine.
But when I launch it from the Finder, it unexpectedly quits with the
message
:
Dec 3 20:19:11 cocoa lookupd[257]: msg_send failed ((ipc/send) invalid
destination port)
Any clue ?
Maybe you make assumptions about the current directory? In Project
Builder, it's the application's bundle, in Finder, it's /. Use NSBundle
for getting the full path to whatever you need.
andy