Click here to Skip to main content
15,881,380 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Redimension CComboBox Pin
Rolf Kristensen29-Sep-10 9:44
Rolf Kristensen29-Sep-10 9:44 
GeneralRe: Redimension CComboBox Pin
mesajflaviu30-Sep-10 20:09
mesajflaviu30-Sep-10 20:09 
QuestionWindows Service cannot access mapped network drive Pin
Ranojay28-Sep-10 21:43
Ranojay28-Sep-10 21:43 
AnswerRe: Windows Service cannot access mapped network drive Pin
Sauro Viti28-Sep-10 21:53
professionalSauro Viti28-Sep-10 21:53 
GeneralRe: Windows Service cannot access mapped network drive Pin
Ranojay28-Sep-10 22:31
Ranojay28-Sep-10 22:31 
AnswerRe: Windows Service cannot access mapped network drive Pin
Kushagra Tiwari29-Sep-10 1:45
Kushagra Tiwari29-Sep-10 1:45 
GeneralRe: Windows Service cannot access mapped network drive Pin
Ranojay29-Sep-10 2:11
Ranojay29-Sep-10 2:11 
AnswerRe: Windows Service cannot access mapped network drive [modified] Pin
Kushagra Tiwari29-Sep-10 3:01
Kushagra Tiwari29-Sep-10 3:01 
Ranojay wrote:
I have also came accros some posts where it is said to use CreateProcessAsUser function to launch the child process. But I could find a proper code to get the "Token Handle" to be used as a parameter to this function. Could you please help me in this area. ?


For doing this .. First you will have to make the service as 'INTERACTIVE' as I mentioned in the earlier reply. Then if u are using the function CreateProcessAsUser() you will have to fallow the process as mentioned in this link :
http://msdn.microsoft.com/en-us/library/aa379608(VS.85).aspx

This should solve your problem.

-Kushagra


PS: If you like my Answers .. Please rate them ... That will give me a lot of confidence Smile | :)

modified on Wednesday, September 29, 2010 9:23 AM

QuestionHow to get the co-ordinates of rectangle Pin
raju_shiva28-Sep-10 21:10
raju_shiva28-Sep-10 21:10 
AnswerRe: How to get the co-ordinates of rectangle Pin
Stephen Hewitt28-Sep-10 21:17
Stephen Hewitt28-Sep-10 21:17 
GeneralRe: How to get the co-ordinates of rectangle Pin
raju_shiva28-Sep-10 23:14
raju_shiva28-Sep-10 23:14 
GeneralRe: How to get the co-ordinates of rectangle Pin
Stephen Hewitt29-Sep-10 0:25
Stephen Hewitt29-Sep-10 0:25 
QuestionOutlook bar with variable number of controls fails to draw Pin
old_hacker28-Sep-10 17:48
old_hacker28-Sep-10 17:48 
QuestionHow to get control of another code's dialog box Pin
largenqcd28-Sep-10 16:17
largenqcd28-Sep-10 16:17 
AnswerRe: How to get control of another code's dialog box [modified] Pin
Luc Pattyn28-Sep-10 16:35
sitebuilderLuc Pattyn28-Sep-10 16:35 
GeneralRe: How to get control of another code's dialog box Pin
largenqcd29-Sep-10 13:11
largenqcd29-Sep-10 13:11 
QuestionHow to make the release version of a visual studio 2008 c++ project so i can step in and debug? Pin
ns28-Sep-10 10:13
ns28-Sep-10 10:13 
AnswerRe: How to make the release version of a visual studio 2008 c++ project so i can step in and debug? Pin
Aescleal28-Sep-10 10:39
Aescleal28-Sep-10 10:39 
GeneralRe: How to make the release version of a visual studio 2008 c++ project so i can step in and debug? Pin
ns28-Sep-10 10:51
ns28-Sep-10 10:51 
GeneralRe: How to make the release version of a visual studio 2008 c++ project so i can step in and debug? Pin
Eugen Podsypalnikov28-Sep-10 11:57
Eugen Podsypalnikov28-Sep-10 11:57 
GeneralRe: How to make the release version of a visual studio 2008 c++ project so i can step in and debug? Pin
Tim Craig28-Sep-10 15:05
Tim Craig28-Sep-10 15:05 
GeneralRe: How to make the release version of a visual studio 2008 c++ project so i can step in and debug? Pin
Eugen Podsypalnikov28-Sep-10 20:41
Eugen Podsypalnikov28-Sep-10 20:41 
GeneralRe: How to make the release version of a visual studio 2008 c++ project so i can step in and debug? Pin
ns29-Sep-10 4:31
ns29-Sep-10 4:31 
AnswerRe: How to make the release version of a visual studio 2008 c++ project so i can step in and debug? Pin
Luc Pattyn28-Sep-10 11:10
sitebuilderLuc Pattyn28-Sep-10 11:10 
GeneralRe: How to make the release version of a visual studio 2008 c++ project so i can step in and debug? Pin
ns29-Sep-10 4:35
ns29-Sep-10 4:35 

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.