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

C / C++ / MFC

 
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 
Hello David,

Generally when windows receives shutdown event it broadcasts WM_QUERYENDSESSION to all top level windows applications , here the issue is as my MFC application is running silently from 'System' account somehow the broadcasted message from Windows is not able to identify this as a Top level windows application.Hence, this application never recives the message whcih is why I am stuck here. All i need to do is to stop scheduled shutdown from a process running in 'System' account. I am open to suggestions , if this can be done in any other way too.

Regards,
Kushagra
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 
QuestionRe: MFC silent executable running from system account not recieveing WM_QUERYENDSESSION message ?? Pin
Kushagra Tiwari21-Oct-09 4:23
Kushagra Tiwari21-Oct-09 4:23 
AnswerRe: MFC silent executable running from system account not recieveing WM_QUERYENDSESSION message ?? Pin
David Crow21-Oct-09 4:36
David Crow21-Oct-09 4:36 
AnswerRe: MFC silent executable running from system account not recieveing WM_QUERYENDSESSION message ?? Pin
Covean21-Oct-09 5:05
Covean21-Oct-09 5:05 
AnswerRe: MFC silent executable running from system account not recieveing WM_QUERYENDSESSION message ?? Pin
Roger Stoltz21-Oct-09 5:43
Roger Stoltz21-Oct-09 5:43 
QuestionJavaScript call from C++ Pin
cdpc20-Oct-09 20:37
cdpc20-Oct-09 20:37 
AnswerRe: JavaScript call from C++ Pin
CPallini20-Oct-09 22:01
mveCPallini20-Oct-09 22:01 
AnswerRe: JavaScript call from C++ Pin
Adam Roderick J20-Oct-09 22:38
Adam Roderick J20-Oct-09 22:38 
Questionhow to stop a .exe? Pin
002comp20-Oct-09 20:24
002comp20-Oct-09 20:24 

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.