Click here to Skip to main content
15,911,039 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Painting with win32. Pin
Randor 31-Jan-09 0:07
professional Randor 31-Jan-09 0:07 
GeneralRe: Painting with win32. Pin
Code-o-mat30-Jan-09 7:02
Code-o-mat30-Jan-09 7:02 
QuestionStrings and Translation Pin
Software200730-Jan-09 4:48
Software200730-Jan-09 4:48 
AnswerRe: Strings and Translation Pin
Jonathan Davies30-Jan-09 5:05
Jonathan Davies30-Jan-09 5:05 
GeneralRe: Strings and Translation Pin
Software200730-Jan-09 5:20
Software200730-Jan-09 5:20 
GeneralRe: Strings and Translation Pin
Jonathan Davies30-Jan-09 5:37
Jonathan Davies30-Jan-09 5:37 
GeneralRe: Strings and Translation Pin
Software200730-Jan-09 6:34
Software200730-Jan-09 6:34 
QuestionNtOpenFile problem Pin
Member 342050930-Jan-09 3:22
Member 342050930-Jan-09 3:22 
I created one file suppose "abc.txt". I denied all access to all the users and groups for that file. (I did it by going to Security tab of property dialog of that file.). When I programmatically try to open this file by using API NtOpenFile() with access mask READ_CONTROL in user mode it succeeds. In this case I am opening the file in the user context who is creator owner of that file.

When I try to open the file in the context of other user who is not creator of that file NtOpenFile() fails with error "Access Denied". It may fails due to that user doesn’t have permissions.

Now when I try to open same file in native mode, NtOpenFile() fails with error "Access Denied". What will be the reason? How I can access the file having all permissions denied to all users in native mode?

Can anybody tell who is the user in native mode? Is it System?
AnswerRe: NtOpenFile problem Pin
Stuart Dootson30-Jan-09 3:49
professionalStuart Dootson30-Jan-09 3:49 
Questionprogramming network UDP application Pin
karpis_miroslav30-Jan-09 2:36
karpis_miroslav30-Jan-09 2:36 
QuestionRe: programming network UDP application Pin
CPallini30-Jan-09 2:45
mveCPallini30-Jan-09 2:45 
AnswerRe: programming network UDP application Pin
karpis_miroslav30-Jan-09 2:47
karpis_miroslav30-Jan-09 2:47 
QuestionRe: programming network UDP application Pin
CPallini30-Jan-09 3:09
mveCPallini30-Jan-09 3:09 
AnswerRe: programming network UDP application Pin
Code-o-mat30-Jan-09 2:47
Code-o-mat30-Jan-09 2:47 
AnswerRe: programming network UDP application Pin
David Crow30-Jan-09 3:27
David Crow30-Jan-09 3:27 
QuestionHow to bypass internet proxy programatically. Pin
SNI30-Jan-09 2:00
SNI30-Jan-09 2:00 
AnswerRe: How to bypass internet proxy programatically. Pin
CPallini30-Jan-09 2:46
mveCPallini30-Jan-09 2:46 
QuestionSytem tray icon. Pin
sam_psycho30-Jan-09 1:53
sam_psycho30-Jan-09 1:53 
AnswerRe: Sytem tray icon. Pin
Code-o-mat30-Jan-09 2:06
Code-o-mat30-Jan-09 2:06 
GeneralRe: Sytem tray icon. Pin
sam_psycho30-Jan-09 2:37
sam_psycho30-Jan-09 2:37 
GeneralRe: Sytem tray icon. Pin
Code-o-mat30-Jan-09 2:43
Code-o-mat30-Jan-09 2:43 
AnswerRe: Sytem tray icon. Pin
Iain Clarke, Warrior Programmer30-Jan-09 2:11
Iain Clarke, Warrior Programmer30-Jan-09 2:11 
QuestionHow will you convert this C# code into VC++? Pin
Nilesh Hamane30-Jan-09 0:04
Nilesh Hamane30-Jan-09 0:04 
GeneralRe: How will you convert this C# code into VC++? Pin
CPallini30-Jan-09 0:09
mveCPallini30-Jan-09 0:09 
GeneralRe: How will you convert this C# code into VC++? Pin
Eytukan30-Jan-09 7:10
Eytukan30-Jan-09 7:10 

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.