Click here to Skip to main content
15,941,755 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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.

AnswerRe: VS2019 - is there a way to dump, display or list what a projects macro definitions are? Pin
charlieg20-Dec-21 4:54
charlieg20-Dec-21 4:54 
GeneralRe: VS2019 - is there a way to dump, display or list what a projects macro definitions are? Pin
Randor 20-Dec-21 9:54
professional Randor 20-Dec-21 9:54 
GeneralRe: VS2019 - is there a way to dump, display or list what a projects macro definitions are? Pin
charlieg20-Dec-21 10:12
charlieg20-Dec-21 10:12 
QuestionBest IDE for golang Pin
Gonzalo Cotanda Gisbert13-Dec-21 11:20
Gonzalo Cotanda Gisbert13-Dec-21 11:20 
AnswerRe: Best IDE for golang Pin
Richard MacCutchan13-Dec-21 21:56
mveRichard MacCutchan13-Dec-21 21:56 
QuestionDebugging Pin
Calin Negru13-Dec-21 1:12
Calin Negru13-Dec-21 1:12 
AnswerRe: Debugging Pin
Richard MacCutchan13-Dec-21 2:03
mveRichard MacCutchan13-Dec-21 2:03 
GeneralRe: Debugging Pin
Calin Negru13-Dec-21 3:58
Calin Negru13-Dec-21 3:58 
GeneralRe: Debugging Pin
Richard MacCutchan13-Dec-21 4:03
mveRichard MacCutchan13-Dec-21 4:03 
GeneralRe: Debugging Pin
Calin Negru13-Dec-21 5:54
Calin Negru13-Dec-21 5:54 
AnswerRe: Debugging (warning: Long answer - skip, rather than making tl;dr complaints!) Pin
kalberts13-Dec-21 18:09
kalberts13-Dec-21 18:09 
QuestionAddVectoredExceptionHandler in Release Pin
ForNow6-Dec-21 16:08
ForNow6-Dec-21 16:08 
AnswerRe: AddVectoredExceptionHandler in Release Pin
Richard MacCutchan6-Dec-21 21:23
mveRichard MacCutchan6-Dec-21 21:23 
GeneralRe: AddVectoredExceptionHandler in Release Pin
ForNow7-Dec-21 1:32
ForNow7-Dec-21 1:32 
GeneralRe: AddVectoredExceptionHandler in Release Pin
Richard MacCutchan7-Dec-21 1:35
mveRichard MacCutchan7-Dec-21 1:35 
GeneralRe: AddVectoredExceptionHandler in Release Pin
ForNow7-Dec-21 12:48
ForNow7-Dec-21 12:48 
GeneralRe: AddVectoredExceptionHandler in Release Pin
Richard MacCutchan7-Dec-21 22:03
mveRichard MacCutchan7-Dec-21 22:03 

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.