Page 1 of 1

Exception EAccessViolation in module dbexpsda40.dll

Posted: Mon 30 Nov 2009 12:36
by osort
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.

Posted: Mon 30 Nov 2009 13:19
by Dimon
I can not reproduce the problem.
Please check if you can reproduce the problem in Query Demo of DbxSda.

Posted: Wed 02 Dec 2009 05:33
by osort
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.

Posted: Wed 02 Dec 2009 12:33
by Dimon
Please try to compose a small sample to demonstrate the problem and send it to dmitryg*devart*com.