I have Main application and DLL apllication.
In the main application I have a set of Queries.
And I can Execute them until the LoadLibrary(MyDll);
after that Every OraQuery.Execute causes Access violation at address 00000000. Read of address 00000000
I figure out some stranges and here they are
Main application (just a part of source)
qModules.Execue;
LoadLibrary(MyDll);
qGet.Execute;
THE DLL Application
uses
ShareMem,
SysUtils,
Classes,
Windows,
Forms ,
Graphics,
Controls,
OraSmart,
Dialogs;
{$R *.res}
begin
end.
And if Im loading an application like this its Access Violation on second execute in main, but If we remove uses OraSmart from Dll every execute works perfectly without any problem.
Any ideas what problem can it be?
Accecc Violation on OraQuery Execute
We could not reproduce the problem. Please send to support*devart*com a complete small sample that demonstrates the problem, including the script for creating database objects.
Also supply us the following information
- exact version of ODAC including build number (see Oracle | About ODAC in the IDE menu);
- exact version of Delphi.
Also supply us the following information
- exact version of ODAC including build number (see Oracle | About ODAC in the IDE menu);
- exact version of Delphi.