DCU is a compiled version of a PAS file.
Therefore, whenever you receive this error, you can resolve it either by ensuring that Delphi can access the DCU file or the PAS file. (Usually the best option is a PAS file.)
You may need to search your computer to see if you have a copy of this file. At the command line, you can search as follows: dir /a/s StramFlashPlayer.*
Delphi finds the files needed to compile a project in the following ways:
1. Explicitly included in the project file.
eg.
uses Forms, MyUnit in 'MyUnit.pas', UnitInAnotherFolder in '..\AnotherFolder\UnitInAnotherFolder.pas';
2. Included in the search path of your project
This is a list of folders in which Delphi will search for the desired file. It is configured for each project in the "Project Settings" section.
3. Library path included
This is another list of folders in which Delphi will search for the desired file. It is configured for all projects in the environment settings.
Choosing which option to use
You probably want to use option 1 in most cases. Especially if it is a file that you are likely to edit.
If the file was provided by someone else (third-party components, etc.), you will probably need option 2 or 3, depending on whether the library of third-party developers will be used in most of your projects or just a small number of specific ones.
source share