Exception EAccessViolation in module dbexpsda40.dll

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for SQL Server in Delphi and C++Builder
Post Reply
osort
Posts: 2
Joined: Mon 30 Nov 2009 12:11

Exception EAccessViolation in module dbexpsda40.dll

Post by osort » Mon 30 Nov 2009 12:36

Hi all,

earlier I used driver 4.25.0.10 version and Delphi 2007 IDE. All was good.
Now I have installed latest version 4.55.0.20 and Delphi 2009 IDE.
The previous version I uninstall from system by Add\Remove programs.

Only minor alterations in comparison with the previous version have been made in a my code. For example

with SQLConnection do
begin
ConnectionName:='MSSQLConnection';
DriverName:='DevartSQLServer';
LibraryName:='dbexpsda40.dll';
VendorLib:='sqloledb.dll';
GetDriverFunc:='getSQLDriverSQLServer';
end;

and I add DBXDevartSQLServer in uses clause.

All work normally but after close application next exception appear

Exception EAccessViolation in module dbexpsda40.dll at 00086ACA.
Access violation at address 01CB6ACA in module 'dbexpsda40.dll'. Read of address 0238161C.

I hope for your help.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 30 Nov 2009 13:19

I can not reproduce the problem.
Please check if you can reproduce the problem in Query Demo of DbxSda.

osort
Posts: 2
Joined: Mon 30 Nov 2009 12:11

Post by osort » Wed 02 Dec 2009 05:33

The Query Demo of DbxSda example works well. In my application I used
call function from my dll. This function dinamically create SQLConnection and execute SQLStoredProcedure. If in the end of dll-function i use SQLConnection.Close or SQLConnection.Free the exception occurs (after closing main application). Otherwise - is not.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Wed 02 Dec 2009 12:33

Please try to compose a small sample to demonstrate the problem and send it to dmitryg*devart*com.

Post Reply