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

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 article please contact our support team at kb@nsoftware.com.