Re: launching 2 same applications
Re: launching 2 same applications
- Subject: Re: launching 2 same applications
- From: Cameron Hayne <email@hidden>
- Date: Wed, 08 Oct 2003 14:27:05 -0400
On 8/10/03 2:00 PM, "Sean Liong" <email@hidden> wrote:
>
I am writing an application for a usb mass storage flash storage device. The
>
application cannot be launch on the usb device itself where some of the
>
functions won't allow. So I need to ensure that the application will only
>
run on a specific path and not on the device itself.
It seems then, that you are merely trying to ensure that the application
will work. You don't truly care (as you shouldn't) about where the app is
run from. You just want it to work.
So instead of checking on where the app was run from, check on the things
that you need for the application to work - e.g. check that there is enough
disk space on the drive where you write temp files, check that you have
write permission, etc.
If something is not to your liking, put up a dialog explaining what your
requirements are and what was found deficient. Then the user can fix things
and run again.
--
Cameron Hayne (email@hidden)
Hayne of Tintagel
_______________________________________________
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.