Mailing Lists: Apple Mailing Lists

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

LSOpenFSRef result code -10814



Hi,
 
I am using an iterator to obtain the FSRef of an Application X which I have previously copied into the Application folder.
 
I am then trying to launch the application from inside my current program Y.
 
I first call a FSOpenIterator followed by GSGetCatalogInfo.
 
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.
 
Now suppose I copy the application X in the app folder and then I open  it once .. close it.
Then open Application Y...then i do not get any error message....
 
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 ?..
 
Thanks in advance
 
Charles
G5, OS-X tiger, Carbon framework, X-code IDE, interface builder;
 
 
 


Yahoo! Messenger NEW - crystal clear PC to PC calling worldwide with voicemail
 _______________________________________________
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



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.