Accecc Violation on OraQuery Execute
Posted: Fri 31 Jul 2009 07:21
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?
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?