I am trying to migrate from Delphi XE to Delphi XE7, so I opened my Delphi XE - project, but it can not be compiled, because Delphi XE7 does not recognize from clause: uses IBDatabase, IBCustomDataSet, IBQuery, IBStoredProc. How to solve this problem ?
-
Did you install the IBO components into XE7 first? – Remy Lebeau Feb 21 '15 at 19:44
-
I did not install any components, because, I don't know how .... Under Delphi XE these components were installed by default. – finalist Feb 21 '15 at 20:07
2 Answers
Delphi XE7 does accept as known from clause: uses IBX.IBDatabase, IBX.IBCustomDataSet, IBX.IBQuery, IBX.IBStoredProc. The project with these declarations was compiled successfuly.

- 49
- 1
- 8
In broad terms this is down to the introduction of unit scope names. The change was made in XE2 to facilitate FireMonkey. The documentation that you need to read can be found here: Unit Scope Names (XE2 documentation).
However, note that the table of unit scope names listed there does not include IBX. In fact the unit scope name change that impacts the IBX units was made in XE6: Unit Scope Names (XE6 documentation). The list of unit scope names for this version of the documentation lists IBX. All of your units now require an IBX
unit scope name.
Note that you could add IBX
to the unit scope names project option to simplify migration.

- 601,492
- 42
- 1,072
- 1,490