![]() |
Compiling Indy 10 for Delphi XE3, strange error - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Indy (https://www.atozed.com/forums/forum-8.html) +--- Forum: Indy General Discussion (https://www.atozed.com/forums/forum-9.html) +--- Thread: Compiling Indy 10 for Delphi XE3, strange error (/thread-3317.html) |
Compiling Indy 10 for Delphi XE3, strange error - PabloRomero - 06-17-2023 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 RE: Compiling Indy 10 for Delphi XE3, strange error - rlebeau - 06-19-2023 (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! RE: Compiling Indy 10 for Delphi XE3, strange error - PabloRomero - 06-21-2023 I did that. I bypass the adding and it compiles. Thank you very much Remy! |