question

ElinorGinzburg-9950 avatar image
1 Vote"
ElinorGinzburg-9950 asked ElinorGinzburg-9950 answered

How to install MFC on VS 2019

Hello,

I've installed MFC extension for VS 2019 version 16.7 on Windows x64 operating system as follows:

18996-mfc.jpg




But when I open a new MFC project, before I start editing it, there are many undefined identifiers and two errors of "cannot open source" type of "afxwinappex.h"
and "afxdialogex.h" headers. I guess I'm missing something important, but I don't know what else to download from VS installer. I'd appreciate it if you could list all the extensions need or refer me to a page where they're mentioned.

Thank you very much.

c++vs-extensions
mfc.jpg (84.4 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

EDIT: I Foegot to mention I've also downloaded C++ ATL build tools of the adequate version

0 Votes 0 ·

1 Answer

ElinorGinzburg-9950 avatar image
1 Vote"
ElinorGinzburg-9950 answered

problem solved by additionally installing ATL and MFC for the v141 build tools

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.