On Apr 27, 2013, at 2:39 AM, Dhiraj Bhor <dhirajbho...@gmail.com> wrote:

> This code works well when i am normal user. But when i ran same code as
> super user, it give me error
> 
> that
> 
> 
> *LSGetApplicationForURL() failed. Error:(-10814)*
> 
> 
> 
> Why this happened?

The documentation for LSGetApplicationForURL() says: "If no application 
suitable for opening the item is found in the Launch Services database, the 
function will return the result code kLSApplicationNotFoundErr."

kLSApplicationNotFoundError is error -10814.

Nick Zitzmann
<http://www.chronosnet.com/>




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to