elevate icon indicating copy to clipboard operation
elevate copied to clipboard

Elevate.rc missing afxres.h on compile

Open Beej126 opened this issue 8 years ago • 1 comments

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

Beej126 avatar Oct 19 '17 00:10 Beej126

hi, maybe a bit late by now but just to answer the previous comment. the correct way to resolve the issue would to add the option "Visual C++ MFC for x86 and x64" . this is not installed by default with the "Desktop development with C++" package. Once this additional option is installed. the project compiles without errors. hope that helps someone else. see also following link in the msdn forum: https://social.msdn.microsoft.com/Forums/de-DE/6b69607a-8a84-4e46-b3c8-5cd832bfb9c7/vs-2017-rc-file-error-rc1015-cannot-open-include-file-afxresh?forum=vcgeneral

zaphoxx avatar May 10 '22 07:05 zaphoxx