TurboPack and Suffix

During the last weeks a lot of guys had problems with the TurboPack libraries. The reason for the issue is the following:

  1. They downloaded the sources, opened the packages with XE8 and installed them. The packages then could be found under “C:\Users\Public\Documents\Embarcadero\Studio\16.0\Bpl\”.
  2. They did the same with XE7 and the packages could be found under “C:\Users\Public\Documents\Embarcadero\Studio\15.0\Bpl\”.
  3. But then if they restart the IDE there is  a problem. The the IDE looks for the packages and searches them in all directories the windows path variable points to. Since both paths (“C:\Users\Public\Documents\Embarcadero\Studio\16.0\Bpl\” and “C:\Users\Public\Documents\Embarcadero\Studio\15.0\Bpl\”) are in the path variable, the IDE finds the packages for XE7 and XE8. It simply depends on the order in the path variable which packages are loaded.
  4. Normally the XE8 path is the first in the path variable so that the XE8 IDE loads successfully the XE8 packages, whereas the XE7 IDE also tries to load the XE8 packages and then crashes.

That’s why I decided to add the XE8 suffix (“220”) to all libraries. For older Delphi versions and particularly newer versions I will create branches with the fitting suffix at GitHub.

This entry was posted in Uncategorized. Bookmark the permalink.