System.Classes.EResNotFound
Delphi
EResNotFound = class(Exception);
C++
class PASCALIMPLEMENTATION EResNotFound : public System::Sysutils::Exception
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | System.Classes.pas System.Classes.hpp |
System.Classes | System.Classes |
Description
EResNotFound is the exception class for resources that were not found.
EResNotFound is raised when a specified resource (such as a form or bitmap) cannot be found in a form file or a resource file, or when the resource is not linked into the application.
If you receive this exception on startup of an application, or when you create a form, check the form's unit file for the compiler directive that links in the form file.
Note: In Delphi, this directive is {$R *.dfm} (for VCL forms).
Note: In C++, this directive is #pragma resource #pragma resource "*.dfm" (for VCL forms).
If this directive is missing or commented out, the form file is not included in the executable and an EResNotFound exception is generated.