Dealing with 1.x databases

Ruslan Zasukhin sunshine at public.kherson.ua
Sun Aug 8 19:08:44 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.


> 2. I trap for this error and back out gracefully. But when I try to
> open another database afterwards (even a good, 2.x version) Valentina
> immediately crashes on the line
> 
> myDatabase = new myDatabaseClass
> 
> There is no crash log generated by the system. And I don't see
> anything written to the Valentina log, either.

Ok. In first turn above error should be fixed.

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina-beta mailing list