You are absolutely correct. It is a mistake in our MFC sample project. We modify the project to include the icons using the Visual Studio GUI, but forget to manually edit the mfcdemo.rc to change them into relative paths.
I have just updated the distribution to include the corrected mfcdemo.rc.
Again, thanks a lot for notifying us of this issue.