Click here to Skip to main content
15,923,006 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionsending message from service Pin
_T("No name")8-Oct-09 0:56
_T("No name")8-Oct-09 0:56 
QuestionRe: sending message from service Pin
CPallini8-Oct-09 1:52
mveCPallini8-Oct-09 1:52 
AnswerRe: sending message from service Pin
Rolf Kristensen8-Oct-09 9:00
Rolf Kristensen8-Oct-09 9:00 
GeneralRe: sending message from service Pin
_T("No name")8-Oct-09 18:40
_T("No name")8-Oct-09 18:40 
QuestionWorker thread not working fine with CReportCtrl derived listctrl. Pin
Le@rner8-Oct-09 0:42
Le@rner8-Oct-09 0:42 
AnswerRe: Worker thread not working fine with CReportCtrl derived listctrl. Pin
CPallini8-Oct-09 1:47
mveCPallini8-Oct-09 1:47 
AnswerRe: Worker thread not working fine with CReportCtrl derived listctrl. Pin
David Crow8-Oct-09 2:12
David Crow8-Oct-09 2:12 
QuestionExcel::Range Pin
MsmVc7-Oct-09 23:39
MsmVc7-Oct-09 23:39 
QuestionHow to get ShutdownBlockReasonCreate for windows vista? Pin
Kushagra Tiwari7-Oct-09 23:19
Kushagra Tiwari7-Oct-09 23:19 
AnswerRe: How to get ShutdownBlockReasonCreate for windows vista? Pin
sashoalm8-Oct-09 5:32
sashoalm8-Oct-09 5:32 
AnswerRe: How to get ShutdownBlockReasonCreate for windows vista? Pin
«_Superman_»8-Oct-09 9:09
professional«_Superman_»8-Oct-09 9:09 
Questionhow to display grid on dialog in dialog based application in vc++,mfc Pin
prerananit7-Oct-09 22:14
prerananit7-Oct-09 22:14 
AnswerRe: how to display grid on dialog in dialog based application in vc++,mfc Pin
CPallini7-Oct-09 22:47
mveCPallini7-Oct-09 22:47 
QuestionRe: how to display grid on dialog in dialog based application in vc++,mfc Pin
sashoalm7-Oct-09 23:27
sashoalm7-Oct-09 23:27 
AnswerRe: how to display grid on dialog in dialog based application in vc++,mfc Pin
CPallini7-Oct-09 23:37
mveCPallini7-Oct-09 23:37 
QuestionView is changing to list view on every Dialog open Pin
002comp7-Oct-09 19:27
002comp7-Oct-09 19:27 
AnswerRe: View is changing to list view on every Dialog open Pin
SandipG 7-Oct-09 22:06
SandipG 7-Oct-09 22:06 
AnswerRe: View is changing to list view on every Dialog open Pin
kilt8-Oct-09 23:20
kilt8-Oct-09 23:20 
Questionwhen should i use a list and when to use vector? Pin
Cpp_Com7-Oct-09 19:07
Cpp_Com7-Oct-09 19:07 
AnswerRe: when should i use a list and when to use vector? Pin
_AnsHUMAN_ 7-Oct-09 19:19
_AnsHUMAN_ 7-Oct-09 19:19 
GeneralRe: when should i use a list and when to use vector? Pin
Cpp_Com7-Oct-09 19:23
Cpp_Com7-Oct-09 19:23 
AnswerRe: when should i use a list and when to use vector? Pin
carter20007-Oct-09 22:00
carter20007-Oct-09 22:00 
QuestionWin Service is not accessing desktop application Pin
gtag7-Oct-09 19:06
gtag7-Oct-09 19:06 
I have written windows service in C++ using winsvc.h.

Registering the exe to run as service.

Service runs under "SYSTEM" credentials and it starts at system startup.

Using this service I can able to access processes only which are running under "SYSTEM".

Is there any property or method related to service in WinSvc.h while creating or starting service, which is used to set the service to access any process running on the desktop.

I can set this manually in services.msc for particular service under log on tab in properties.

But want to set it programmatically.

I tried checking many blogs and googled but there is no clue.

Please give me clue.

Thanks in advance.

Regards,
Gtag.
QuestionBatch File doubt Pin
mohant$.net7-Oct-09 18:35
mohant$.net7-Oct-09 18:35 
AnswerRe: Batch File doubt Pin
sashoalm7-Oct-09 23:34
sashoalm7-Oct-09 23:34 

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.