Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compiling Indy 10 for Delphi XE3, strange error
#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


Messages In This Thread
RE: Compiling Indy 10 for Delphi XE3, strange error - by rlebeau - 06-19-2023, 08:11 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)