Click here to Skip to main content
15,891,033 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: If you still have to use C++ with MFC/ATL avoid updating Visual Studio Pin
Nelek28-Jul-20 9:00
protectorNelek28-Jul-20 9:00 
GeneralRe: If you still have to use C++ with MFC/ATL avoid updating Visual Studio Pin
Rick York28-Jul-20 16:11
mveRick York28-Jul-20 16:11 
GeneralRe: If you still have to use C++ with MFC/ATL avoid updating Visual Studio Pin
Nelek29-Jul-20 7:45
protectorNelek29-Jul-20 7:45 
GeneralRe: If you still have to use C++ with MFC/ATL avoid updating Visual Studio Pin
rtischer827729-Jul-20 2:58
rtischer827729-Jul-20 2:58 
GeneralRe: If you still have to use C++ with MFC/ATL avoid updating Visual Studio Pin
Nelek29-Jul-20 3:04
protectorNelek29-Jul-20 3:04 
GeneralRe: If you still have to use C++ with MFC/ATL avoid updating Visual Studio Pin
nedmech29-Jul-20 4:50
nedmech29-Jul-20 4:50 
GeneralRe: If you still have to use C++ with MFC/ATL avoid updating Visual Studio Pin
DanM229-Jul-20 4:52
DanM229-Jul-20 4:52 
GeneralRe: If you still have to use C++ with MFC/ATL avoid updating Visual Studio Pin
Nelek29-Jul-20 7:42
protectorNelek29-Jul-20 7:42 
DanM2 wrote:
So many people are so quick to jump on use of mfc... lol
Need to add functionality to a legacy project

DanM2 wrote:
Back to your question. I have 2019 installed as well. I have no option for wizard creation of an MFC "console" project. But, I do have one for a Windows console project. I was able to pick this one, it created the project. I then went to project properties and picked "Use MFC" and then I added "#include <afxwin.h>", and then I was able to use some MFC. Yes, I agree, it did not do everything for me, but it definitely wasn't that hard... I feel like maybe I had to do this before and they used to have an option for "include MFC headers" when you made a Windows SDK console project. Guess that is gone.

My biggest rant was not for the I can't create a project with MFC (although I hadn't found the "C++ Windows desktop wizard" yet).
My biggest problem is that the old projects with #include "stdafx.h" won't compile now because the new standard is with #include "pch.h" and #include "framework.h". So far I have added the VC++ v141, I have edited project properties (but not the project file directly) and tried to add it manually... that didn't work.

I have given up for a while, because I have started my tests in the new structure and want to finish them first.
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.

GeneralUPS: uninterruptible power supply Pin
raddevus28-Jul-20 2:09
mvaraddevus28-Jul-20 2:09 
GeneralRe: UPS: uninterruptible power supply Pin
Mike Hankey28-Jul-20 2:16
mveMike Hankey28-Jul-20 2:16 
GeneralRe: UPS: uninterruptible power supply Pin
raddevus28-Jul-20 2:25
mvaraddevus28-Jul-20 2:25 
GeneralRe: UPS: uninterruptible power supply Pin
BryanFazekas29-Jul-20 1:45
BryanFazekas29-Jul-20 1:45 
GeneralRe: UPS: uninterruptible power supply Pin
raddevus29-Jul-20 11:24
mvaraddevus29-Jul-20 11:24 
GeneralRe: UPS: uninterruptible power supply Pin
BryanFazekas29-Jul-20 1:53
BryanFazekas29-Jul-20 1:53 
GeneralRe: UPS: uninterruptible power supply Pin
dandy7229-Jul-20 3:51
dandy7229-Jul-20 3:51 
GeneralRe: UPS: uninterruptible power supply Pin
BryanFazekas29-Jul-20 4:17
BryanFazekas29-Jul-20 4:17 
GeneralRe: UPS: uninterruptible power supply Pin
dandy7229-Jul-20 4:28
dandy7229-Jul-20 4:28 
GeneralRe: UPS: uninterruptible power supply Pin
BryanFazekas29-Jul-20 5:22
BryanFazekas29-Jul-20 5:22 
GeneralRe: UPS: uninterruptible power supply Pin
Roland M Smith28-Jul-20 2:37
Roland M Smith28-Jul-20 2:37 
GeneralRe: UPS: uninterruptible power supply Pin
raddevus28-Jul-20 3:10
mvaraddevus28-Jul-20 3:10 
GeneralRe: UPS: uninterruptible power supply Pin
Dan Neely28-Jul-20 2:44
Dan Neely28-Jul-20 2:44 
GeneralRe: UPS: uninterruptible power supply Pin
raddevus28-Jul-20 3:12
mvaraddevus28-Jul-20 3:12 
GeneralRe: UPS: uninterruptible power supply Pin
OriginalGriff28-Jul-20 2:46
mveOriginalGriff28-Jul-20 2:46 
GeneralRe: UPS: uninterruptible power supply Pin
raddevus28-Jul-20 3:14
mvaraddevus28-Jul-20 3:14 
GeneralRe: UPS: uninterruptible power supply Pin
W Balboos, GHB29-Jul-20 3:02
W Balboos, GHB29-Jul-20 3:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.