To passing connection to DLL i use pLDA or pSvcCtx (like it used in BDESession.pas) instead or passion object TOraSession.
Code: Select all
procedure TSharedOraSession.DoConnect;
begin
if not OCIInited then
InitOCI;
CreateIConnection;
if Options.UseOCI7 then
begin
FIConnection.SetOCICallStyle(OCI73);
FIConnection.SetLDA(FpLDA);
end
else
begin
FIConnection.SetOCICallStyle(OraCall.OCICallStyle);
FIConnection.SetSvcCtx(FpSVC)
end;
inherited;
end;
After upgrading to XE5 and ODAC 9, i can`t compile and use my projects becouse of ODAC initialization is changed.
How a can pass LDA or SvcCtx from external DAC (BDE or other version of ODAC or other DAC) to OraSession with ODAC 9.2 ???
If it impossible, my upgrade to XE5 and renewing ODAC is absolutely useless for me.
