visual studio 2017 - MFC development in vs2017 -


when installed vs2017, did select windows development c++ option. after installation, however, don't see mfc has been added. sure enough, errors when compile application,

fatal error c1083: cannot open include file: 'afxwin.h': no such file or directory

i cannot find change/modify option vs2017 installation in control panel. how can add "microsoft foundation classes c++" package?

if near top of vs installer window, you'll see workloads, individual components , language packs.

at least far can see, none of "workloads" include mfc in installation. it, first have click on "individual components", scroll way bottom of (long) list of components shows. close bottom you'll find "mfc , atl support (x86 , x64)". select it, , you're on way.

that's not end of story though: default, when install that, installs version unicode build of mfc. if want narrow-character version, have install separately. don't think there's entry in installer @ all--but if try build project uses narrow-character mfc, you'll error message includes link download it.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -