AfxThrowResourceException 

void AfxThrowResourceException( );

Remarks

Throws a resource exception. This function is normally called when a Windows resource cannot be loaded.

See Also   CResourceException, THROW