Replace afxres.h with windows.h since AFX is not used.