Need help! (Passing LDA or SvcCtx to dll)
Posted: Thu 24 Apr 2014 05:25
I have a lot of projects on Delphi3(BDE 4.50 !) and Delphi5 (ODAC 4.05/4.50/6.50/6.90).
To passing connection to DLL i use pLDA or pSvcCtx (like it used in BDESession.pas) instead or passion object TOraSession.
This allow me pass connection between different ODAC and BDE verisons and awoid RTTI problem.
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.
((
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.
