Hi Friends. I've been fighting for days to get Indy 10 working in DXE3 Up2
Compiling, I get this
[
attachment=594]
And this
[
attachment=595]
What am I doing wrong?
Regards
(06-17-2023, 05:08 PM)PabloRomero Wrote: [ -> ]What am I doing wrong?
Nothing at all.
The fault is Embarcadero's. Their
paclientcore package is not referencing the
IdResourceStrings unit in Indy's package, as it should, but is instead
implicitly compiling Indy's
IdResourceStrings.pas source file directly into itself. Thus, you can't have both
paclientcore and Indy loaded in the IDE at the same time, since they contain separate copies of the same unit. Delphi does not allow multiple copies of the same unit to be loaded in the same process at the same time.
So, either remove
paclientcore from the IDE before loading Indy, or else remove Indy from the IDE and just create its components dynamically in code at runtime instead of at design-time time.
DO NOT let the IDE add the
paclientcore package to Indy!
I did that. I bypass the adding and it compiles. Thank you very much Remy!