IdSocketHandle.hpp do not compile due to OraConsts.hpp #define DefaultPort u"1521"
Posted: Tue 12 Apr 2016 12:14
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:
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:
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
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"
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