Click here to Skip to main content
15,889,367 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Looking for advice/guidance on writting / painting to non Client area of window Pin
Victor Nijegorodov30-Dec-21 10:19
Victor Nijegorodov30-Dec-21 10:19 
GeneralRe: Looking for advice/guidance on writting / painting to non Client area of window Pin
ForNow30-Dec-21 10:24
ForNow30-Dec-21 10:24 
GeneralRe: Looking for advice/guidance on writting / painting to non Client area of window Pin
charlieg30-Dec-21 11:54
charlieg30-Dec-21 11:54 
AnswerRe: Looking for advice/guidance on writting / painting to non Client area of window Pin
RedDk30-Dec-21 7:29
RedDk30-Dec-21 7:29 
GeneralRe: Looking for advice/guidance on writting / painting to non Client area of window Pin
ForNow30-Dec-21 7:50
ForNow30-Dec-21 7:50 
QuestionActiveX control development - old farts need apply Pin
charlieg28-Dec-21 16:08
charlieg28-Dec-21 16:08 
AnswerRe: ActiveX control development - old farts need apply Pin
Richard MacCutchan28-Dec-21 22:21
mveRichard MacCutchan28-Dec-21 22:21 
GeneralRe: ActiveX control development - old farts need apply Pin
charlieg29-Dec-21 1:37
charlieg29-Dec-21 1:37 
AnswerRe: ActiveX control development - old farts need apply Pin
charlieg29-Dec-21 16:49
charlieg29-Dec-21 16:49 
QuestionLink error referencing Windows Desk Top Manager Pin
ForNow28-Dec-21 1:35
ForNow28-Dec-21 1:35 
GeneralRe: Link error referencing Windows Desk Top Manager Pin
Richard MacCutchan28-Dec-21 2:03
mveRichard MacCutchan28-Dec-21 2:03 
GeneralRe: Link error referencing Windows Desk Top Manager stupid me Pin
ForNow28-Dec-21 2:45
ForNow28-Dec-21 2:45 
GeneralRe: Link error referencing Windows Desk Top Manager stupid me Pin
Richard MacCutchan28-Dec-21 3:38
mveRichard MacCutchan28-Dec-21 3:38 
QuestionDrawing a Caption using CDC Class Pin
ForNow24-Dec-21 3:32
ForNow24-Dec-21 3:32 
AnswerRe: Drawing a Caption using CDC Class Pin
Graham Breach24-Dec-21 7:08
Graham Breach24-Dec-21 7:08 
GeneralRe: Drawing a Caption using CDC Class Pin
ForNow24-Dec-21 7:35
ForNow24-Dec-21 7:35 
QuestionWriteFile return access denied? Pin
Le@rner20-Dec-21 21:32
Le@rner20-Dec-21 21:32 
AnswerRe: WriteFile return access denied? Pin
Richard MacCutchan20-Dec-21 21:51
mveRichard MacCutchan20-Dec-21 21:51 
GeneralRe: WriteFile return access denied? Pin
Le@rner20-Dec-21 23:33
Le@rner20-Dec-21 23:33 
GeneralRe: WriteFile return access denied? Pin
Richard MacCutchan20-Dec-21 23:50
mveRichard MacCutchan20-Dec-21 23:50 
GeneralRe: WriteFile return access denied? Pin
Richard MacCutchan20-Dec-21 23:55
mveRichard MacCutchan20-Dec-21 23:55 
GeneralRe: WriteFile return access denied? Pin
Le@rner21-Dec-21 1:11
Le@rner21-Dec-21 1:11 
GeneralRe: WriteFile return access denied? Pin
Richard MacCutchan21-Dec-21 2:30
mveRichard MacCutchan21-Dec-21 2:30 
AnswerRe: WriteFile return access denied? Pin
jschell23-Dec-21 5:40
jschell23-Dec-21 5:40 
QuestionVS2019 - is there a way to dump, display or list what a projects macro definitions are? Pin
charlieg20-Dec-21 4:43
charlieg20-Dec-21 4:43 
I have a very simple project that I am converting from VS2015 to VS2019. The project "converts" successfully but will not compile due to:

"fatal error C1189: #error: MFC does not support NTDDI_VERSION less than NTDDI_WINXP. Please change the definition of NTDDI_VERSION in your project properties or precompiled header."

I've turned off precompiled headers and added to my stdafx.h the following line:

#define NTDDI_VERSION 0x0A00

I've also tried

#define NTDDI_VERSION _WIN32_WINNT_WIN10

stdafx.cpp will not compile. So, my question stands - is there a method to determine all of the project macro settings?
Charlie Gilley

“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

Has never been more appropriate.

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.