Firebird embedded and disconnect problem

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
tflessak
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: 10.04.2007, 18:37

Firebird embedded and disconnect problem

Post 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
User avatar
cipto_kh
Senior Boarder
Senior Boarder
Posts: 83
Joined: 28.09.2005, 11:22
Location: Indonesia
Contact:

Post 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.
tflessak
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: 10.04.2007, 18:37

Post by tflessak »

I've posted the sample project on mantis.

Thank you!
Post Reply