V4MD port to OSX Trouble

Charles Yeomans yeomans at desuetude.com
Thu Aug 18 12:18:25 CDT 2005


On Aug 18, 2005, at 12:02 PM, Robert Brenstein wrote:

>>  Oh my God!  This is what I just found:  If I use ValentinaError() 
>> then I
>>  > get "-43", but if I use ValentinaErrorString() then I get "No 
>> error".  I
>>>  guess need to start using ValentinaError() instead of
>>>  ValentinaErrorString().
>>
>> Aha, right.
>>
>> Problem here is that -43 this is error from MacOS.
>>
>> MacOS have tons of error codes, and Valentina do not have strings for 
>> them.
>> Also I did NOT find any MacOS function which can return string for 
>> MacOS
>> error code.
>>
>> --
>
> But me thinks that ValentinaErrorString() should return something like 
> "Mac OS error -43" instead of "No error" if it can't convert number 
> into string.

I agree; something as simple as "OS Error" would provide a clue as to 
the nature of the error.

--------------
Charles Yeomans



More information about the Valentina mailing list