V4MD port to OSX Trouble

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Aug 18 18:34:00 CDT 2005


On 8/18/05 5:43 PM, "Andrew Sinning" <andrew at learningware.com> wrote:

> I overlooked the following in the manual:  "The MacOS version of
> Valentina does not require the file name extension .vdb, but the
> Windows version does. If you are going to have a cross-platform database
> then it is better to use an extension."
> 
> What this means is that under Windows you do not need to include an
> extension with "OpenDatabase( gMyDataBase, the moviePath &
> "DataBase1.vdb" )", but under Mac you do.
> 
> I know that I should have read the manual more closely, but what is the
> point of error reporting if you won't even report there is NO CONNECTION
> to the specified file in an OpenDatabase() command?  How about something
> like "File Not Found"?
> 
> 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.

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list