| Previous | Next |
| STATUS_RESOURCE_DATA_NOT_FOUND | STATUS_RESOURCE_NAME_NOT_FOUND |
STATUS_RESOURCE_TYPE_NOT_FOUND
The requested resource type is absent
A resource lookup starts with a type such as RT_DIALOG, RT_STRING, or a custom type. This status means the module has no matching type node, so changing the resource name or language cannot make the lookup succeed under that type.
Inspect the exact module loaded and whether the caller passed an integer resource ID or a string. The resource APIs treat integer identifiers and strings differently, and a custom type name must match what was compiled into the image.
What to inspect
- Record the module path and whether the type is an integer ID or string.
- Enumerate resource types in the loaded image before checking names.
- Correct the compiled resource type or the caller's lookup identifier.
References
Looking for a different code? Search another status or error code.