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]\).
- Uninstall the toolkit.
- 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).
- 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).
- Run the full version setup once more (making sure the IDE is closed). 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.