Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compiling Indy 10 for Delphi XE3, strange error
#1
Hi Friends.  I've been fighting for days to get Indy 10 working in DXE3 Up2
Compiling, I get this 

   

And this

   

What am I doing wrong?

Regards
Reply
#2
(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!

Reply
#3
I did that. I bypass the adding and it compiles. Thank you very much Remy!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)