Probl with Delphi 1.02 to Oracle via SQL*NET

We have a problem with Delphi 1.02 when we are working on an Oracle 7
database direct via SQL*NET version The connection works
well but we have a problem when we use TQuery.prepare. We get the
error "General protection fault in SQLD_ORA.DLL" the second time we do
open on the TQuery.

The general procedure is like this:

Call TQuery.Prepare.

Begining a loop
        Call TQuery.Open
        Call TQuery.Insert
        Call TQuery.Post
        Call TQuery.Close
End of loop

Call TQuery.Unprepare.

The second time the loop rolls, the open statement causes an general
protection fault, like described above.

Kind regards, Ola Theander