Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LSOpenFSRef result code -10814



On Nov 10, 2005, at 6:40 AM, Charles Gregory wrote:
After I obtain my FSRef I call :LSOpenFSRef.

However I get an error result : -10814 No aaplication in the Launch Srevices DataBase matches the input criteria.

This error means that Launch Services sees the target of the FSRef not as an application but as a document. It fails to open it because it cannot find an application which handles the document's type. I think you should double-check the FSRef to see exactly what it's pointing to.


So I am guessing my application is only registered in Launch Srevices DataBase after it has been opened once.
Is there a way i can open the application using an FSOpenFSRef ( or other) althouhg this app has never been launche before ????
Or am I completly out of the plot here and this not the problem ?..

I'm positive it's not related to app registration in this case. Launch Services will always launch an application when explicitly told to, provided the app is in a format supported by the OS.


-Chris

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >LSOpenFSRef result code -10814 (From: Charles Gregory <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.