Page 1 of 1
Access Violation on connect
Posted: Fri 10 Feb 2006 10:33
by Patrick
Hello. I have the following problem using dbexpsda.dll (file version 2.50.7.0) in Delphi 7, MDAC 2.8 SP1 on WinXP SP2. When I set the connected property of a TSQLConnection component to true at design time the connection works OK. When I do it at run time I get an AV. I can use dbexpmss.dll without error.
Posted: Fri 10 Feb 2006 15:52
by Ikar
Most possible you have two dbexpsda.dll files - first (right) in Windows/System folder and second in your project folder. Try to search for all such files on your HDD.
Posted: Tue 07 Mar 2006 09:53
by Guest
I have a very similar problem.
I create the TSQLConnection dynamically and call the Open method.
Running the compiled program is fine, but I get an AV (attempt write to address 0) when I run under the Delphi7 debug mode.
The error occurs during the Kernel function LoadLibrary, I only have one version of dbexpsda.dll
Posted: Fri 10 Mar 2006 12:23
by Ikar
Please supply us following information.
- Version of Delphi
- Version of DbxSda. You can find it in history.html or in DLL version info
Do you use DbxSda Std or Trial?
Re: Debug version crashing.
Posted: Tue 14 Mar 2006 11:50
by kaj
I have rebuilt the DLL and problem seems to have gone away. Must have been some glitch on my system.
Sorry to trouble you.
kaj (Guest last week)