Click here to Skip to main content
15,918,404 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Call a extern variable from Application class Pin
Jokcy13-Mar-11 1:34
Jokcy13-Mar-11 1:34 
AnswerRe: Call a extern variable from Application class Pin
Richard MacCutchan12-Mar-11 22:44
mveRichard MacCutchan12-Mar-11 22:44 
GeneralRe: Call a extern variable from Application class Pin
Jokcy12-Mar-11 23:01
Jokcy12-Mar-11 23:01 
GeneralRe: Call a extern variable from Application class Pin
Richard MacCutchan13-Mar-11 2:03
mveRichard MacCutchan13-Mar-11 2:03 
GeneralRe: Call a extern variable from Application class Pin
Jokcy13-Mar-11 3:14
Jokcy13-Mar-11 3:14 
GeneralRe: Call a extern variable from Application class Pin
Richard MacCutchan13-Mar-11 4:23
mveRichard MacCutchan13-Mar-11 4:23 
GeneralRe: Call a extern variable from Application class Pin
Jokcy14-Mar-11 21:40
Jokcy14-Mar-11 21:40 
QuestionLoad Bitmap with CreateCompatibleBitmap Pin
leorex12-Mar-11 16:23
leorex12-Mar-11 16:23 
AnswerRe: Load Bitmap with CreateCompatibleBitmap Pin
bob1697212-Mar-11 18:07
bob1697212-Mar-11 18:07 
GeneralRe: Load Bitmap with CreateCompatibleBitmap Pin
leorex12-Mar-11 18:11
leorex12-Mar-11 18:11 
GeneralRe: Load Bitmap with CreateCompatibleBitmap Pin
bob1697212-Mar-11 19:55
bob1697212-Mar-11 19:55 
AnswerRe: Load Bitmap with CreateCompatibleBitmap Pin
Richard MacCutchan12-Mar-11 22:49
mveRichard MacCutchan12-Mar-11 22:49 
AnswerRe: Load Bitmap with CreateCompatibleBitmap Pin
Hans Dietrich13-Mar-11 0:15
mentorHans Dietrich13-Mar-11 0:15 
QuestionGdplus::Color to DWORD Pin
csrss12-Mar-11 8:56
csrss12-Mar-11 8:56 
AnswerRe: Gdplus::Color to DWORD Pin
bob1697212-Mar-11 9:37
bob1697212-Mar-11 9:37 
AnswerRe: Gdplus::Color to DWORD Pin
Luc Pattyn12-Mar-11 10:05
sitebuilderLuc Pattyn12-Mar-11 10:05 
GeneralRe: Gdplus::Color to DWORD Pin
bob1697212-Mar-11 11:06
bob1697212-Mar-11 11:06 
GeneralRe: Gdplus::Color to DWORD Pin
csrss12-Mar-11 19:46
csrss12-Mar-11 19:46 
QuestionDebug Error While Running Program on Other Computer Pin
AmbiguousName12-Mar-11 7:20
AmbiguousName12-Mar-11 7:20 
AnswerRe: Debug Error While Running Program on Other Computer Pin
Code-o-mat12-Mar-11 8:53
Code-o-mat12-Mar-11 8:53 
QuestionUSB devices list [modified] Pin
fasked12-Mar-11 3:12
fasked12-Mar-11 3:12 
AnswerRe: USB devices list Pin
Hans Dietrich12-Mar-11 4:53
mentorHans Dietrich12-Mar-11 4:53 
GeneralRe: USB devices list Pin
fasked12-Mar-11 5:23
fasked12-Mar-11 5:23 
AnswerRe: USB devices list Pin
Luc Pattyn12-Mar-11 6:05
sitebuilderLuc Pattyn12-Mar-11 6:05 
QuestionHow to create a process with a different, really restricted user account? Pin
Member 774798412-Mar-11 1:56
Member 774798412-Mar-11 1:56 
Let's say I have a command-line C++ program running under an Administrator account on the system and I want to start another program but I want it to run under a different user account. I want this new user account to only have write permissions to a specific subdirectory tree on the system and restricted access to the Registry (if possible). And this account should only be able to run specific programs. I also want my C++ program to manage the list of allowed programs for the target user account.

How do I create such an account? (Windows XP Professional SP3)

Then, how do I start the target program using the desired user account?

Also, using C++ (or command-line applications I can execute from my C++ program), how do I go about managing the list of allowed programs for the target user account?

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.