void PASCAL AfxThrowResourceException();
Throws a CResourceException. It is normally called when a Windows resource cannot be loaded. This is a helper function used in the implementation of the Microsoft Foundation classes.
Note:
This function requires the statement #include <afxwin.h>.