Firebird embedded and disconnect problem
Posted: 23.08.2007, 19:18
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
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