Error on close application with IntraWeb 10
Posted: 21.02.2010, 02:34
I get error :
Exception Class EAccessViolation with message 'Access violation at address 100174A7 in module 'fbclient.dll'. Write of address 011DF634'.
I use IntraWeb 10.0.23 with Delphi 2009
For example:
File, New, Other, VCL for the Web, VCL for the Web Application Wizard,
StandAlone Application, Create User Session, HTML 4.0, OK
Open Unit1.dfm
put TZConnection1, set Database, HostName, Password, User and Protocol Firebird-2.1
try Conected to True for test your setup and then go to False
put TZQuery1, set Connection to TZConnection1, SQL= select * from TABLEXX
put IWLabel from IW Standard
Open the Table on Create:
[Delphi]
procedure TIWForm1.IWAppFormCreate(Sender: TObject);
begin
ZConnection1.Connect;
ZQuery1.Open;
end;
On destroy:
procedure TIWForm1.IWAppFormDestroy(Sender: TObject);
begin
Zquery1.Close;
ZConnection1.Disconnect;
end;
[Delphi/]
Run the application with F9,
F9 another time inside the application,
close and then I get the error:
Exception Class EAccessViolation with message 'Access violation at address 100174A7 in module 'fbclient.dll'. Write of address 011DF634'.
I believe that the error is on line 730 of
TZFirebirdBaseDriver.isc_detach_database
Result := FIREBIRD_API.isc_detach_database(status_vector, db_handle);
Thank you
Exception Class EAccessViolation with message 'Access violation at address 100174A7 in module 'fbclient.dll'. Write of address 011DF634'.
I use IntraWeb 10.0.23 with Delphi 2009
For example:
File, New, Other, VCL for the Web, VCL for the Web Application Wizard,
StandAlone Application, Create User Session, HTML 4.0, OK
Open Unit1.dfm
put TZConnection1, set Database, HostName, Password, User and Protocol Firebird-2.1
try Conected to True for test your setup and then go to False
put TZQuery1, set Connection to TZConnection1, SQL= select * from TABLEXX
put IWLabel from IW Standard
Open the Table on Create:
[Delphi]
procedure TIWForm1.IWAppFormCreate(Sender: TObject);
begin
ZConnection1.Connect;
ZQuery1.Open;
end;
On destroy:
procedure TIWForm1.IWAppFormDestroy(Sender: TObject);
begin
Zquery1.Close;
ZConnection1.Disconnect;
end;
[Delphi/]
Run the application with F9,
F9 another time inside the application,
close and then I get the error:
Exception Class EAccessViolation with message 'Access violation at address 100174A7 in module 'fbclient.dll'. Write of address 011DF634'.
I believe that the error is on line 730 of
TZFirebirdBaseDriver.isc_detach_database
Result := FIREBIRD_API.isc_detach_database(status_vector, db_handle);
Thank you