Re: cocoa-dev digest, Vol 2 #311 - 8 msgs
Re: cocoa-dev digest, Vol 2 #311 - 8 msgs
- Subject: Re: cocoa-dev digest, Vol 2 #311 - 8 msgs
- From: Richard <email@hidden>
- Date: Tue, 12 Mar 2002 17:17:30 +1100
- Organization: Faraday R&D
>
On Monday, March 11, 2002, at 06:02 PM, email@hidden wrote:
>
>
> From: Stan Pulchtopek
>
>
>
> I am getting a -10818 error status from an NSWorkspace
>
> openFile:withApplication: call. I can't find a list of errors anywhere on
>
> the Mac OS X Development site.
>
>
>
> Does anyone know what this error is?
>
>
LaunchServices.h
>
>
kLSLaunchInProgressErr = -10818, /* e.g. opening an alreay
>
opening application*/
>
>
> Does anyone know where there is a list of all Mac errors?
>
>
There isn't just one place. Many Carbon error codes are listed in
>
MacErrors.h. If you know what framework is generating the error, you can
>
start by searching its headers.
>
>
Jim
Doing a search for an error code on Apple's site is usually fruitless.
The reason possibly is that most of them are in a PDF file
called result codes -- so you need to search for "result codes"
Further more not all error/result codes are contained in this PDF file.
Things like Internet config and many networking errors are not
listed but may be found in the corresponding API area.
Sometimes the .h files are the best place.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.