Jump to content
Zazhir

unit compile with a different versio of idTCPConnection

Recommended Posts

I just update Indy's component to the latest version. I am using a thirdy party libary to make the request of an api call RESTResquest4Delphi. When I tried to run the projet, the follow erro occurs. Any idea on how to solve this issue? 

image.thumb.png.b71abe8f9f6775273f08967740805a62.png

Share this post


Link to post

I hope you have the source code of this library. You need to recompile its units to use the Indy version you just installed. And make sure you only have one instance of the Indy dcus on the pathes the compiler searches for files (IDE library path, project search path).

  • Like 2

Share this post


Link to post

before any updates, you can verify if residual-old-files exists or not, for Indy try "dir id*.* for example on CMD

RAD store its DCU, BPL, DCP in \bin  and for platforms see on \lib

dont forget verify the "Library path", "Browse Path", "DCU path" on setup

Share this post


Link to post
10 minutes ago, programmerdelphi2k said:

before any updates, you can verify if residual-old-files exists or not, for Indy try "dir id*.* for example on CMD

RAD store its DCU, BPL, DCP in \bin  and for platforms see on \lib

dont forget verify the "Library path", "Browse Path", "DCU path" on setup

if I just delete these old files, the erros is fixed?

 

Edited by Zazhir

Share this post


Link to post

so I have to go back to the old version? that do not look right, keep in mind that i need the component in his recent version.

20 minutes ago, PeterBelow said:

I hope you have the source code of this library. You need to recompile its units to use the Indy version you just installed. And make sure you only have one instance of the Indy dcus on the pathes the compiler searches for files (IDE library path, project search path).

 

Share this post


Link to post

if you have all compiled files (DCU, BPL, DCP, etc...) for example, you needs just replace old files (with same IDE edition) of course, else, you 'll need compile new version!!! 

normally, the installer just try delete old-files, copy new binary to folders! sometimes do some recompiling...

Share this post


Link to post

o I see, when I was upp to update the Indy, I follow the steps to delete these files, this was to avoid this kind of error? 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×