Page 1 of 1

Firebird embedded and disconnect problem

Posted: 23.08.2007, 19:18
by tflessak
Hi!

I'm having a very weird problem. I'm using Delphi 2006 Zeos 6.6.2 Beta and Firebird embedded.

I have a project that uses the component TIBBackupService to provide database backup.
I was using Zeos 6.5.1 since yesterday, when I updated to 6.6.2
After upgrade, TIBBackupService stopped working and below message returns:

"operating system directive CreateFile failed. The file is in use in another process".

I did a small test in a blank project. I've put a TZConnection and a TIBDatabase (both using firebird embedded library). So I've put the code bellow:

ZConnection1.Connect;
ZConnection1.Disconnect;
IBDatabase1.Connected := True; // <--- Crash!

I realy don't know what's going on!
I tried debug, but I found nothing. I think that ZConnection is locking something but I don't know what!

Please, help me to solve this problem!

Thank you!

Regards
Thiago

Posted: 24.08.2007, 05:16
by cipto_kh
hhmm.. strange, can you send the simple project that can produce that error? you can post this bug on mantis (http://zeosbugs.firmos.at/) with the sample project.

Posted: 24.08.2007, 12:57
by tflessak
I've posted the sample project on mantis.

Thank you!