I need to receive access from DLL to objects EXE of the module. In DLL the objects of class TOracleSession & TOracleDataSet don't is stored.
Thank you for help.
Dmitry.
Ryazan NPZ.
Hi
{
if object OracleDataSet is stored in EXE and to call method SetVariable from DLL then
raise exception EInvalidCast.
In main application all OK.
Exsamples see bellow}
library LibDOA;
uses
Sharemem,
OracleData;
procedure SetVarODS(var ods: TOracleDataSet);stdcall;
begin
with ods do...