Delphi: Fixing 'Undeclared Identifier' errors after installing the full version

When installing the full version over the trial version Delphi can continue to use old .pas files causing this error.

Date Entered: 06/30/2009    Last Updated: 10/23/2013

This problem with Delphi can occur because of old versions of the .pas files in Delphi's Lib folder. To resolve this follow the steps below. Please note: if you are using an older version of Delphi, you'll navigate to a slightly different file path (C:\Program Files\Borland\[Delphi Version]\).

  1. Uninstall the toolkit.
  2. Navigate to C:\Program Files\Embarcadero\RAD Studio\[RAD Studio Version]\Bin and delete the "dclipworks9.bpl" file. (the .bpl name will vary depending on the product you are using).
  3. Navigate to C:\Program Files\Embarcadero\RAD Studio\[RAD Studio Version]\Lib and delete the .dru, .pas, and .dcu files for the components. (They start with 'ipw' for IPWorks but will vary depending on the product you are using).
  4. Run the full version setup once more (making sure the IDE is closed).
  5. This should resolve the compilation errors.

We appreciate your feedback.  If you have any questions, comments, or suggestions about this entry please contact our support team at kb@nsoftware.com.