Click here to Skip to main content
15,888,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: BG color for popup dialogs [modified] Pin
Hristo-Bojilov8-Oct-09 23:58
Hristo-Bojilov8-Oct-09 23:58 
AnswerRe: BG color for popup dialogs Pin
Anish C.V9-Oct-09 1:04
Anish C.V9-Oct-09 1:04 
Question[Message Deleted] Pin
Mogamboo_Khush_Hua8-Oct-09 22:51
Mogamboo_Khush_Hua8-Oct-09 22:51 
AnswerRe: problem in string searching Pin
minkowski8-Oct-09 22:56
minkowski8-Oct-09 22:56 
AnswerRe: problem in string searching Pin
Jijo.Raj8-Oct-09 23:10
Jijo.Raj8-Oct-09 23:10 
QuestionRe: problem in string searching Pin
CPallini8-Oct-09 23:50
mveCPallini8-Oct-09 23:50 
Questionquestion on using kdbg Pin
minkowski8-Oct-09 22:17
minkowski8-Oct-09 22:17 
QuestionProblem with CreateProcessAsUser( ) ? [modified] Pin
Kushagra Tiwari8-Oct-09 21:23
Kushagra Tiwari8-Oct-09 21:23 
Hello ALL,

In one of my applications running under local user account, I need to spawn a process internally from system account.I was using OpenProcessToken () and was trying to collect token of winlogon.exe running under system account and was specifying flag as TOKEN_ALL_ACCESS but this fails.

Also if I specify the FLAG as TOKEN_QUERY then I get the handle but then trying to CreateProcesswithUser resulted in Error "Access is denied". Can some body suggest me a solution through which I can spawn a new process through SYSTEM account when my process itself is running through a user account .

Regards,
Kushagra

I hate to code but I luv to develop Smile | :)

modified on Friday, October 9, 2009 3:29 AM

AnswerRe: Problem with CreateProcessAsUser( ) ? Pin
Rajesh R Subramanian8-Oct-09 21:35
professionalRajesh R Subramanian8-Oct-09 21:35 
GeneralRe: Problem with CreateProcessAsUser( ) ? Pin
Kushagra Tiwari8-Oct-09 21:43
Kushagra Tiwari8-Oct-09 21:43 
QuestionQuestion regarding excel files Pin
Le@rner8-Oct-09 21:04
Le@rner8-Oct-09 21:04 
AnswerRe: Question regarding excel files Pin
Rajesh R Subramanian8-Oct-09 21:33
professionalRajesh R Subramanian8-Oct-09 21:33 
GeneralRe: Question regarding excel files Pin
kilt8-Oct-09 23:12
kilt8-Oct-09 23:12 
GeneralRe: Question regarding excel files Pin
Rajesh R Subramanian9-Oct-09 1:11
professionalRajesh R Subramanian9-Oct-09 1:11 
GeneralRe: Question regarding excel files Pin
Michael Schubert9-Oct-09 2:12
Michael Schubert9-Oct-09 2:12 
GeneralRe: Question regarding excel files Pin
Rajesh R Subramanian9-Oct-09 4:38
professionalRajesh R Subramanian9-Oct-09 4:38 
GeneralRe: Question regarding excel files Pin
Richard MacCutchan9-Oct-09 2:24
mveRichard MacCutchan9-Oct-09 2:24 
GeneralRe: Question regarding excel files Pin
Rajesh R Subramanian9-Oct-09 4:35
professionalRajesh R Subramanian9-Oct-09 4:35 
QuestionRe: Question regarding excel files Pin
David Crow9-Oct-09 3:41
David Crow9-Oct-09 3:41 
QuestionVtable for derived calss Pin
Cpp_Com8-Oct-09 20:53
Cpp_Com8-Oct-09 20:53 
AnswerRe: Vtable for derived calss Pin
CPallini8-Oct-09 21:18
mveCPallini8-Oct-09 21:18 
AnswerRe: Vtable for derived calss Pin
Anish C.V9-Oct-09 1:09
Anish C.V9-Oct-09 1:09 
AnswerRe: Vtable for derived calss Pin
Stuart Dootson9-Oct-09 7:20
professionalStuart Dootson9-Oct-09 7:20 
QuestionZip a folder Pin
S p k 5218-Oct-09 20:30
S p k 5218-Oct-09 20:30 
AnswerRe: Zip a folder Pin
Rajesh R Subramanian8-Oct-09 20:48
professionalRajesh R Subramanian8-Oct-09 20:48 

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.