Click here to Skip to main content
15,945,119 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
WriteFile return access denied?

while i providing admin privileges

please help me for this.

C++
HANDLE hCD = CreateFile (file_Name, GENERIC_READ|GENERIC_WRITE,
						 FILE_SHARE_READ|FILE_SHARE_WRITE,
						 NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL,
						 NULL);

WriteFile (hCD, Buffer, Size, &bytesWritten, NULL);

its fails with access denied.


thanks in advance.
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 
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 

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.