FROM : j o a r
DATE : Sat Nov 20 19:35:19 2004
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
DATE : Sat Nov 20 19:35:19 2004
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
| Related mails | Author | Date |
|---|---|---|
| Jesus De Meyer | Nov 20, 19:29 | |
| j o a r | Nov 20, 19:35 | |
| Jesus De Meyer | Nov 20, 20:47 | |
| Charles Srstka | Nov 22, 00:40 |






Cocoa mail archive

