Re: Decoding OSStatus values

2008-10-15 Thread Randall Meadows
On Oct 15, 2008, at 1:22 PM, Peter Ammon wrote: On Oct 15, 2008, at 7:49 AM, Richard Dearlove wrote: Is there an easy way to decode the values from OSStatus. I have this #define that I copied from another project but it isnt really helping.. This gives me an error such as Error: \316\37

Re: Decoding OSStatus values

2008-10-15 Thread Peter Ammon
On Oct 15, 2008, at 7:49 AM, Richard Dearlove wrote: Is there an easy way to decode the values from OSStatus. I have this #define that I copied from another project but it isnt really helping.. This gives me an error such as Error: \316\377\377\377 #define checkStatus( err) \ if(err) {\

Re: Decoding OSStatus values

2008-10-15 Thread Richard D
Thanks! On 15 Oct 2008, at 16:01, Jean-Daniel Dupas wrote: Le 15 oct. 08 à 16:49, Richard Dearlove a écrit : Is there an easy way to decode the values from OSStatus. I have this #define that I copied from another project but it isnt really helping.. This gives me an error such as Erro

Re: Decoding OSStatus values

2008-10-15 Thread Jean-Daniel Dupas
Le 15 oct. 08 à 16:49, Richard Dearlove a écrit : Is there an easy way to decode the values from OSStatus. I have this #define that I copied from another project but it isnt really helping.. This gives me an error such as Error: \316\377\377\377 #define checkStatus( err) \ if(err) {\ pr

Decoding OSStatus values

2008-10-15 Thread Richard Dearlove
Is there an easy way to decode the values from OSStatus. I have this #define that I copied from another project but it isnt really helping.. This gives me an error such as Error: \316\377\377\377 #define checkStatus( err) \ if(err) {\ printf("Error: %s -> %s: %d\n", (char *)&err,__FILE__, _