Click here to Skip to main content
14,331,729 members

C / C++ / MFC

 
AnswerRe: _open generate "Access is denied" error Pin
Richard MacCutchan1-Sep-19 22:04
protectorRichard MacCutchan1-Sep-19 22:04 
GeneralRe: _open generate "Access is denied" error Pin
_Flaviu2-Sep-19 1:58
member_Flaviu2-Sep-19 1:58 
QuestionRe: _open generate "Access is denied" error Pin
Richard MacCutchan2-Sep-19 5:42
protectorRichard MacCutchan2-Sep-19 5:42 
AnswerRe: _open generate "Access is denied" error Pin
_Flaviu4-Sep-19 0:30
member_Flaviu4-Sep-19 0:30 
GeneralRe: _open generate "Access is denied" error Pin
Richard MacCutchan4-Sep-19 1:10
protectorRichard MacCutchan4-Sep-19 1:10 
GeneralRe: _open generate "Access is denied" error Pin
_Flaviu4-Sep-19 1:18
member_Flaviu4-Sep-19 1:18 
GeneralRe: _open generate "Access is denied" error Pin
Richard MacCutchan4-Sep-19 1:31
protectorRichard MacCutchan4-Sep-19 1:31 
AnswerRe: _open generate "Access is denied" error Pin
leon de boer1-Sep-19 22:19
memberleon de boer1-Sep-19 22:19 
Your flags (020) are linux flags not windows try ( _O_WRONLY | _O_CREAT ) or some normal windows flags

_open, _wopen | Microsoft Docs[^]

I would add even in linux the code really should be written as flags not a value like that for this exact reason.
In vino veritas


modified 2-Sep-19 4:33am.

GeneralRe: _open generate "Access is denied" error Pin
_Flaviu2-Sep-19 1:37
member_Flaviu2-Sep-19 1:37 
GeneralRe: _open generate "Access is denied" error Pin
_Flaviu2-Sep-19 3:27
member_Flaviu2-Sep-19 3:27 
GeneralRe: _open generate "Access is denied" error Pin
leon de boer2-Sep-19 14:52
memberleon de boer2-Sep-19 14:52 
GeneralRe: _open generate "Access is denied" error Pin
_Flaviu4-Sep-19 0:29
member_Flaviu4-Sep-19 0:29 
GeneralRe: _open generate "Access is denied" error Pin
Victor Nijegorodov4-Sep-19 1:58
memberVictor Nijegorodov4-Sep-19 1:58 
GeneralRe: _open generate "Access is denied" error Pin
_Flaviu4-Sep-19 9:01
member_Flaviu4-Sep-19 9:01 
GeneralRe: _open generate "Access is denied" error Pin
Victor Nijegorodov4-Sep-19 9:09
memberVictor Nijegorodov4-Sep-19 9:09 
GeneralRe: _open generate "Access is denied" error Pin
leon de boer4-Sep-19 15:03
memberleon de boer4-Sep-19 15:03 
GeneralBacktracking in C. Pin
Washiko31-Aug-19 20:23
memberWashiko31-Aug-19 20:23 
GeneralRe: Backtracking in C. Pin
Richard MacCutchan31-Aug-19 20:57
protectorRichard MacCutchan31-Aug-19 20:57 
GeneralRe: Backtracking in C. Pin
Stefan_Lang3-Sep-19 4:52
memberStefan_Lang3-Sep-19 4:52 
QuestionWhere are the setting in the Intel Manageability Commander for TLS configuration? Pin
Member 1406801930-Aug-19 3:47
memberMember 1406801930-Aug-19 3:47 
AnswerRe: Where are the setting in the Intel Manageability Commander for TLS configuration? Pin
Richard MacCutchan30-Aug-19 4:53
protectorRichard MacCutchan30-Aug-19 4:53 
QuestionCString to const char* Pin
_Flaviu29-Aug-19 22:48
member_Flaviu29-Aug-19 22:48 
AnswerRe: CString to const char* Pin
Victor Nijegorodov29-Aug-19 22:55
memberVictor Nijegorodov29-Aug-19 22:55 
GeneralRe: CString to const char* Pin
_Flaviu29-Aug-19 23:08
member_Flaviu29-Aug-19 23:08 
GeneralRe: CString to const char* Pin
_Flaviu29-Aug-19 23:31
member_Flaviu29-Aug-19 23:31 

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.