Click here to Skip to main content
15,902,445 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to restore view settings in Dialog?? Pin
CPallini21-Oct-09 0:48
mveCPallini21-Oct-09 0:48 
GeneralRe: How to restore view settings in Dialog?? Pin
002comp21-Oct-09 1:24
002comp21-Oct-09 1:24 
GeneralRe: How to restore view settings in Dialog?? Pin
002comp21-Oct-09 23:00
002comp21-Oct-09 23:00 
AnswerRe: How to restore view settings in Dialog?? Pin
David Crow21-Oct-09 2:37
David Crow21-Oct-09 2:37 
GeneralRe: How to restore view settings in Dialog?? Pin
002comp21-Oct-09 22:59
002comp21-Oct-09 22:59 
AnswerRe: How to restore view settings in Dialog?? Pin
David Crow22-Oct-09 2:16
David Crow22-Oct-09 2:16 
AnswerRe: How to restore view settings in Dialog?? Pin
David Crow26-Oct-09 3:19
David Crow26-Oct-09 3:19 
QuestionMFC silent executable running from system account not recieveing WM_QUERYENDSESSION message ?? [modified] Pin
Kushagra Tiwari20-Oct-09 22:59
Kushagra Tiwari20-Oct-09 22:59 
Hello all,

I have made an MFC application with invisible window and invisible in Applications tab of taskmanager designed to run in different sessions depending upon the number of users who are logged into the system. Thus, according to user events the instances used to capture logoff/Shutdown/Logon events for that particular session.Also, I have made one instance of this executable to run in 'SYSTEM' account to capture scheduled shutdown in cases when no user was logged on the machine. However in this case 'WM_QUERYENDSESSION' is never recieved by this running instance of my application which runs in 'SYSTEM' account.Can some one tell me how to abort scheduled shutdown in Windows from an application running in system account , in a case when no user is logged on in the machine.

Regards,
Kushagra

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

modified on Wednesday, October 21, 2009 9:22 AM

AnswerRe: MFC silent executable running from system account not recieveing WM_QUERYENDSESSION message ?? Pin
Hans Dietrich21-Oct-09 0:13
mentorHans Dietrich21-Oct-09 0:13 
QuestionRe: MFC silent executable running from system account not recieveing WM_QUERYENDSESSION message ?? Pin
Kushagra Tiwari21-Oct-09 0:25
Kushagra Tiwari21-Oct-09 0:25 
AnswerRe: MFC silent executable running from system account not recieveing WM_QUERYENDSESSION message ?? Pin
Hans Dietrich21-Oct-09 0:33
mentorHans Dietrich21-Oct-09 0:33 
GeneralRe: MFC silent executable running from system account not recieveing WM_QUERYENDSESSION message ?? Pin
Kushagra Tiwari21-Oct-09 2:04
Kushagra Tiwari21-Oct-09 2:04 
AnswerRe: MFC silent executable running from system account not recieveing WM_QUERYENDSESSION message ?? Pin
ThatsAlok21-Oct-09 1:37
ThatsAlok21-Oct-09 1:37 
AnswerRe: MFC silent executable running from system account not recieveing WM_QUERYENDSESSION message ?? Pin
Kushagra Tiwari21-Oct-09 1:51
Kushagra Tiwari21-Oct-09 1:51 
QuestionRe: MFC silent executable running from system account not recieveing WM_QUERYENDSESSION message ?? Pin
David Crow21-Oct-09 2:56
David Crow21-Oct-09 2:56 
AnswerRe: MFC silent executable running from system account not recieveing WM_QUERYENDSESSION message ?? Pin
Kushagra Tiwari21-Oct-09 3:19
Kushagra Tiwari21-Oct-09 3:19 
GeneralRe: MFC silent executable running from system account not recieveing WM_QUERYENDSESSION message ?? Pin
David Crow21-Oct-09 3:20
David Crow21-Oct-09 3:20 
GeneralRe: MFC silent executable running from system account not recieveing WM_QUERYENDSESSION message ?? Pin
Roger Stoltz21-Oct-09 3:24
Roger Stoltz21-Oct-09 3:24 
GeneralRe: MFC silent executable running from system account not recieveing WM_QUERYENDSESSION message ?? Pin
David Crow21-Oct-09 3:27
David Crow21-Oct-09 3:27 
GeneralRe: MFC silent executable running from system account not recieveing WM_QUERYENDSESSION message ?? Pin
Roger Stoltz21-Oct-09 3:42
Roger Stoltz21-Oct-09 3:42 
GeneralRe: MFC silent executable running from system account not recieveing WM_QUERYENDSESSION message ?? Pin
Kushagra Tiwari21-Oct-09 3:25
Kushagra Tiwari21-Oct-09 3:25 
QuestionRe: MFC silent executable running from system account not recieveing WM_QUERYENDSESSION message ?? Pin
David Crow21-Oct-09 3:34
David Crow21-Oct-09 3:34 
AnswerRe: MFC silent executable running from system account not recieveing WM_QUERYENDSESSION message ?? Pin
Kushagra Tiwari21-Oct-09 3:39
Kushagra Tiwari21-Oct-09 3:39 
QuestionRe: MFC silent executable running from system account not recieveing WM_QUERYENDSESSION message ?? Pin
David Crow21-Oct-09 3:52
David Crow21-Oct-09 3:52 
AnswerRe: MFC silent executable running from system account not recieveing WM_QUERYENDSESSION message ?? Pin
Kushagra Tiwari21-Oct-09 3:59
Kushagra Tiwari21-Oct-09 3:59 

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.