i changed the few references from afxres.h to the stdafx.h and it built and ran... not sure if that's the proper solution but it worked... for the record, i did upgrade project to latest Visual Studio 2017 15.4.0 but i can't see how that would impact this kind of issue