Topic: Access violations with V. 0.29 and Delphi 4

Hello,

after placing a Dataset component on an empty Form without any additional action I'm unable to delete this component from the Form.  A second Access Violation message appears when Delphi is closed, even without saving the project. OS is W2K pro, Delphi 4 Standard, Update 2.

regards

W. Reeg

Re: Access violations with V. 0.29 and Delphi 4

Thanks for your remark Wilhem

As a quick fix, open the file SqlitePassParser.pas and change the

procedure TSqlitePassSqlStmt.UnPrepare;
begin
  FEngine.UnprepareStmt(FStmtHandle);
end;

with

procedure TSqlitePassSqlStmt.UnPrepare;
begin
 if Assigned(FEngine)
    then FEngine.UnprepareStmt(FStmtHandle);
end;

Save and recompile the runtime package.

I hope it will help. smile

Luc