Hi Michael!

I wasn't disconnecting the database because at least the navigation between the first form and the other 2 are occuring without troubles. I was only connect at form.create of the the 2 forms called by the first. After read your e-mail I implemented the form.close for the 2 forms called by the first and put the explicit disconnet in this form.close.

Both forms called seems to freeze when the execution passes thru the TIBConnection.Connected := false. I must to cancel them manually or via task manager.

When I remove the TIBConnection.Connected := false, navigation became ok again...

Did you read the zaher dirkey's comments?

[ ]

Ricardo
At 19:22 10/6/2007, you wrote:


On Sun, 10 Jun 2007, Arí Ricardo Ody wrote:

> I develop a program in what from an initial form a execute 2 other programs. > Both other access a Firebird database. I put a TIBConnection.connected := true > in the Form.Crate of the executed programs and everything's ok 'till I try to > close the application. When I click the "Exit" button the Application doesn't
> ends... Considering that there are no databases in the first form/program,
> what do I do to force the application ends when I execute the Self.Close in
> the first Form?
>
> If I run the same application using a local database(a database existing in
> the HD of the machime where the application is running) everything's OK. The > trouble is occurring with databases contained in other computer(a server of a
> win XP network).
>
> The final users must ends te application via task manager or manual closing.
> They are claiming a lot.

Do you explicitly disconnect the database too before closing the form ?

Michael.


_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to