Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionVisual Studio Resource Editor Pin
Richard Andrew x6416-Feb-24 2:03
professionalRichard Andrew x6416-Feb-24 2:03 
AnswerRe: Visual Studio Resource Editor Pin
Mircea Neacsu16-Feb-24 2:28
Mircea Neacsu16-Feb-24 2:28 
GeneralRe: Visual Studio Resource Editor Pin
Richard Andrew x6416-Feb-24 2:51
professionalRichard Andrew x6416-Feb-24 2:51 
GeneralRe: Visual Studio Resource Editor Pin
jschell16-Feb-24 7:23
jschell16-Feb-24 7:23 
GeneralRe: Visual Studio Resource Editor Pin
Mircea Neacsu16-Feb-24 7:30
Mircea Neacsu16-Feb-24 7:30 
Questionhow to get "native window" ? Pin
Salvatore Terress11-Feb-24 8:26
Salvatore Terress11-Feb-24 8:26 
AnswerRe: how to get "native window" ? Pin
CPallini11-Feb-24 20:14
mveCPallini11-Feb-24 20:14 
GeneralMessage Closed Pin
12-Feb-24 4:36
Salvatore Terress12-Feb-24 4:36 
GeneralRe: how to get "native window" ? Pin
Richard MacCutchan12-Feb-24 5:13
mveRichard MacCutchan12-Feb-24 5:13 
GeneralRe: how to get "native window" ? Pin
k505412-Feb-24 3:44
mvek505412-Feb-24 3:44 
GeneralMessage Closed Pin
12-Feb-24 6:37
Salvatore Terress12-Feb-24 6:37 
GeneralRe: how to get "native window" ? Pin
k505412-Feb-24 7:14
mvek505412-Feb-24 7:14 
AnswerRe: how to get "native window" ? Pin
jschell13-Feb-24 4:45
jschell13-Feb-24 4:45 
GeneralMessage Closed Pin
14-Feb-24 4:12
Salvatore Terress14-Feb-24 4:12 
GeneralRe: how to get "native window" ? Pin
Richard MacCutchan14-Feb-24 4:23
mveRichard MacCutchan14-Feb-24 4:23 
GeneralRe: how to get "native window" ? Pin
Dave Kreskowiak14-Feb-24 4:37
mveDave Kreskowiak14-Feb-24 4:37 
GeneralMessage Closed Pin
14-Feb-24 6:31
Salvatore Terress14-Feb-24 6:31 
QuestionMessage Closed Pin
14-Feb-24 12:06
Salvatore Terress14-Feb-24 12:06 
AnswerRe: How to implement sudo -S and -ps options Pin
k505414-Feb-24 12:57
mvek505414-Feb-24 12:57 
GeneralMessage Closed Pin
15-Feb-24 11:17
Salvatore Terress15-Feb-24 11:17 
GeneralRe: How to implement sudo -S and -ps options Pin
Richard MacCutchan15-Feb-24 21:02
mveRichard MacCutchan15-Feb-24 21:02 
Salvatore Terress wrote:
what am I missing ?
It makes no difference how you run that command string, it will never work. If that command succeeds then the generated shell that runs the sudo command will be elevated to (possibly root) status. It will then terminate and return to your application which runs at non-elevated level. If you want root access in your application then you have two very simple choices:
1. Do what k5054 advised and set up your account to run at higher level.
2. Call sudo in your shell before launching your application.
GeneralRe: How to implement sudo -S and -ps options Pin
jschell15-Feb-24 11:41
jschell15-Feb-24 11:41 
AnswerRe: How to implement sudo -S and -ps options Pin
Richard MacCutchan14-Feb-24 21:46
mveRichard MacCutchan14-Feb-24 21:46 
Questionpurpose of parameter value of -1 ? Pin
Salvatore Terress10-Feb-24 5:14
Salvatore Terress10-Feb-24 5:14 
AnswerRe: purpose of parameter value of -1 ? Pin
k505410-Feb-24 5:21
mvek505410-Feb-24 5:21 

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.