Click here to Skip to main content
15,881,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
Two things

First you are a person which has specific access to the file system.
Your application is not you. The access it has depends on how it runs.
You as a person are likely checking the access but that does not mean the application has it.

Second the directories also determine access.

You can programmatically request information about permissions. Write some code that returns that information from EACH level of the directory tree including the drive letter. Then inspect that.
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 
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 

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.