Pass a Delphi 7 Orassession connection to a Delphi unicode DLL

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
lior
Posts: 36
Joined: Mon 01 Aug 2011 07:11

Pass a Delphi 7 Orassession connection to a Delphi unicode DLL

Post by lior » Mon 24 Apr 2017 08:51

Hello,
I want to pass an OraSession connection from a Delphi 7 compiled executable to
a Delphi XE5 or higher compiled DLL.
I use the procedure AssignConnect(Source: TOraSession);
Is possible to pass it between these non unicode and unicode Delphi versions?
Problem is some of the Orasession properties such as USERNAME are not passed
or passed with wrong values.
I use ODAC 9.3.9

lior
Posts: 36
Joined: Mon 01 Aug 2011 07:11

Re: Pass a Delphi 7 Orassession connection to a Delphi unicode DLL

Post by lior » Thu 27 Apr 2017 08:09

Hello,

Is it possible to pass/share a connection/transaction from a Delphi 7 exe to a Delphi XE5-XE10 DLL ?
I tried passing a TOraSession. Some of its Its properties such as password and ServerName where empty.
I use ODAC 9.3.9

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: Pass a Delphi 7 Orassession connection to a Delphi unicode DLL

Post by MaximG » Sat 13 May 2017 13:16

You cannot correctly convey TOraSession using DLL compiled in RAD Studio using Unicode to the application developed in Delphi 7 environment

Post Reply