Dealing with 1.x databases

Robert Brenstein rjb at robelko.com
Tue Aug 10 16:01:12 CDT 2004


>On 8/8/04 5:17 PM, "jda" <jda at his.com> wrote:
>
>Hi Jon,
>
>>  One question, one problem.
>>
>>  1. When I open a 1.x database with my 2.x project I get a -39 error
>>  (end-of-file). I can trap for that and give an error message, etc.
>>  But a -39 error can occur for other reasons (like a corrupted db).
>>  Will this error be changed to something more specific to Valentina
>>  (like a VError of 'version too old', or something like that)?
>
>Well, yes we must throw error here.
>

What ever happened to implementing GetFileVersion function in 1.10? 
This was last discussed when version 1.9 came out if I recall. We 
should be able to inspect version number and determine whether it is 
valid or not.

Robert


More information about the Valentina-beta mailing list