Dealing with 1.x databases

jda jda at his.com
Sun Aug 8 10:17:22 CDT 2004


Hi Ruslan,

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)?

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.

Jon


More information about the Valentina-beta mailing list