Access Violation Zeos 8 Lazarus 3.2
Posted: 31.03.2024, 23:43
I have a problem when I close an application that contains a TZTransaction and a TZQuery with the Transaction property filled in.
Below is an example to reproduce the error:
Create a new project in Lazarus, add a TZTransaction and a TZQuery.
In TZQuery set the Transaction.
Try to close the application and an access violation will occur in TZAbstractTransaction.BeforeDestruction in the ZTransaction unit.
The exact line where the problem occurs within the method is: if Comp.InheritsFrom(TZAbstractRWTxnSeqDataSet) then
Below is an example to reproduce the error:
Create a new project in Lazarus, add a TZTransaction and a TZQuery.
In TZQuery set the Transaction.
Try to close the application and an access violation will occur in TZAbstractTransaction.BeforeDestruction in the ZTransaction unit.
The exact line where the problem occurs within the method is: if Comp.InheritsFrom(TZAbstractRWTxnSeqDataSet) then