Page 1 of 1

Pass a Delphi 7 Orassession connection to a Delphi unicode DLL

Posted: Mon 24 Apr 2017 08:51
by lior
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

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

Posted: Thu 27 Apr 2017 08:09
by lior
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

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

Posted: Sat 13 May 2017 13:16
by MaximG
You cannot correctly convey TOraSession using DLL compiled in RAD Studio using Unicode to the application developed in Delphi 7 environment