delphidelphi-xe7runtime-packages

XE7 link runtime package issue


I am moving my code from Delphi 2007 to XE7. My program use late binding package way. So I compile my application with "link with runtime packages" options. I used this way for a long time with 2007.

But in XE7, same package structure, cause:

"Unit X was compiled with different version of Y.Txyz" error message.

Unit X in one of my package. Y unit is in a library package also. Relation seems ok. Why XE7 gives this error? I tried following ways:

Compiler pass some errors but repeat ".. compiled with different version .." type error somewhere else..

I am not clear about this issue. Is there changing in logic of XE7? Best Regards


Solution

  • I focused on the problem and I realised some differencies XE7 from Delphi2007.