• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problems with NSFileManager
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with NSFileManager


  • Subject: Re: Problems with NSFileManager
  • From: j o a r <email@hidden>
  • Date: Sat, 20 Nov 2004 19:35:19 +0100


On 2004-11-20, at 19.29, Jesus De Meyer wrote:

In my app, I build a menu with the contents of a folder. When the user selects a menuitem (which represents a file) I use NSWorkspace's method openFile

However, a user of my app has told me that the file doesn't get launched and instead he sees this in the Console: LSOpenFromURLSpec() returned -10814 for application (null) path
I cannot reproduce this error myself.


Any ideas how I can solve this?

Why not start with checking what the return code means?

<http://developer.apple.com/documentation/Carbon/Reference/ LaunchServicesReference/LSRReference/ResultCodes.html>

j o a r

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Problems with NSFileManager
      • From: Jesus De Meyer <email@hidden>
References: 
 >Problems with NSFileManager (From: Jesus De Meyer <email@hidden>)

  • Prev by Date: Problems with NSFileManager
  • Next by Date: Re: Access instance var from NSValueTransformer
  • Previous by thread: Problems with NSFileManager
  • Next by thread: Re: Problems with NSFileManager
  • Index(es):
    • Date
    • Thread