IndySockets / Indy

Indy - Internet Direct
https://www.indyproject.org
451 stars 153 forks source link

compilation issues during Installation #447

Closed iba-saw closed 1 year ago

iba-saw commented 1 year ago

Hello, I'm trying to install Indy10 on Delpi7. I loaded it on 01/12/23. I uninstalled and removed the old version. I have compiled the libraries in the order given. The following errors occurred when compiling dclIndyProtocols in Lib\Protocols:

[Error] IdHL7.pas(526): Declaration of '_AddRef' differs from declaration in interface 'IIdQueuedMessage' [Error] IdHL7.pas(526): Declaration of '_Release' differs from declaration in interface 'IIdQueuedMessage' [Fatal error] IdRegister.pas(235): Cannot compile used unit 'IdHL7.pas'

How can I fix the errors, or can you help me?

rlebeau commented 1 year ago

I have checked in a fix, try it again and see if it works now

iba-saw commented 1 year ago

Thanks, that works now. Another error has occurred. when installing the dclIndyCore70.dpk and the dclIndyProtocols70.dpk, the following error message was thrown: The procedure entry point "@idglobal@IndyStrtoInt$qqrx17System@AnsyStringi" was not found in the DLL "c\dp7\Procects\Bpl\dclIndyCore70.bpl".

rlebeau commented 1 year ago

That kind of error typically means that you have another (older) copy of the mentioned BPL somewhere on your search path that is interfering with the (newer) BPL being referred to. IOW, check your system for older versions of dclIndyCore70.bpl and rename/remove them so the compiler uses the latest version you just compiled.

iba-saw commented 1 year ago

Problems solved, reinstalled Delphi, after that it worked.