Page 1 of 1

IdSocketHandle.hpp do not compile due to OraConsts.hpp #define DefaultPort u"1521"

Posted: Tue 12 Apr 2016 12:14
by Morelli
Hi Folks,
we use C++ Builder 10 Seattle and we updated ODAC from Version 9.5.18 to 9.6.22.
You have added new defines in the OraConsts.hpp file including the define of DefaultPort:

Code: Select all

#define DefaultHost L"localhost"
#define DefaultPort L"1521"
#define DefaultSID L"orcl"
Because of this new define of yours - the files: IdSocketHandle.hpp, IdIOHandlerSocket.hpp and IdCustomTCPServer.hpp (Src: C:\Program Files (x86)\Embarcadero\Studio\17.0\include\windows\rtl) do no more compile successfully!!! The LOC of IdSocketHandle.hpp:

Code: Select all

	__property System::Word DefaultPort = {read=FDefaultPort, write=FDefaultPort, nodefault};

does no more compile because of the OraConsts.hpp define of DefaultPort.

In our Project we have to include both INDY (IdSocketHandle.hpp ect...) and ODAC!

How can we handle this conflict? Is there going to be a new patch of ODAC? How can we fix this Problem?
Thanks for your help!

Kind regards
Michael Morelli

Re: IdSocketHandle.hpp do not compile due to OraConsts.hpp #define DefaultPort u"1521"

Posted: Tue 12 Apr 2016 12:39
by AlexP
hello,

We have already fixed the problem. The fix will be included in the next version.

Re: IdSocketHandle.hpp do not compile due to OraConsts.hpp #define DefaultPort u"1521"

Posted: Tue 12 Apr 2016 13:12
by Morelli
Hi,

ok perfect, when is it going to be released?

Re: IdSocketHandle.hpp do not compile due to OraConsts.hpp #define DefaultPort u"1521"

Posted: Wed 13 Apr 2016 06:11
by AlexP
We plan to release the new build this month.