Click here to Skip to main content
15,918,742 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: database to excel Pin
David Crow7-Oct-09 11:03
David Crow7-Oct-09 11:03 
AnswerRe: database to excel Pin
Richard MacCutchan7-Oct-09 21:56
mveRichard MacCutchan7-Oct-09 21:56 
GeneralRe: database to excel Pin
prithaa8-Oct-09 9:05
prithaa8-Oct-09 9:05 
QuestionJoystick Reading From C++ Form Application [modified] Pin
kuzeyli817-Oct-09 2:33
kuzeyli817-Oct-09 2:33 
AnswerRe: Joystick Reading From C++ Form Application Pin
CPallini7-Oct-09 2:50
mveCPallini7-Oct-09 2:50 
AnswerRe: Joystick Reading From C++ Form Application Pin
Randor 7-Oct-09 5:22
professional Randor 7-Oct-09 5:22 
GeneralRe: Joystick Reading From C++ Form Application Pin
kuzeyli818-Oct-09 6:29
kuzeyli818-Oct-09 6:29 
Questionhow to Open a file on right click with my application Pin
mah_pankaj7-Oct-09 2:06
mah_pankaj7-Oct-09 2:06 
AnswerRe: how to Open a file on right click with my application Pin
Sarath C7-Oct-09 2:31
Sarath C7-Oct-09 2:31 
QuestionUsedRange Pin
rdop7-Oct-09 1:58
rdop7-Oct-09 1:58 
QuestionHow to embed windows xp visual styles Pin
Danzy837-Oct-09 1:57
Danzy837-Oct-09 1:57 
AnswerRe: How to embed windows xp visual styles Pin
Rajesh R Subramanian7-Oct-09 2:03
professionalRajesh R Subramanian7-Oct-09 2:03 
AnswerRe: How to embed windows xp visual styles Pin
Sarath C7-Oct-09 2:35
Sarath C7-Oct-09 2:35 
QuestionCOM with VC++ Pin
hrishiS7-Oct-09 1:45
hrishiS7-Oct-09 1:45 
AnswerRe: COM with VC++ Pin
Roger Stoltz7-Oct-09 1:52
Roger Stoltz7-Oct-09 1:52 
GeneralRe: COM with VC++ Pin
hrishiS7-Oct-09 2:14
hrishiS7-Oct-09 2:14 
GeneralRe: COM with VC++ Pin
CPallini7-Oct-09 2:22
mveCPallini7-Oct-09 2:22 
GeneralRe: COM with VC++ Pin
Roger Stoltz7-Oct-09 2:32
Roger Stoltz7-Oct-09 2:32 
GeneralRe: COM with VC++ Pin
CPallini7-Oct-09 3:30
mveCPallini7-Oct-09 3:30 
AnswerRe: COM with VC++ Pin
Rajesh R Subramanian7-Oct-09 1:53
professionalRajesh R Subramanian7-Oct-09 1:53 
AnswerRe: COM with VC++ Pin
CPallini7-Oct-09 1:57
mveCPallini7-Oct-09 1:57 
AnswerRe: COM with VC++ Pin
kilt8-Oct-09 23:25
kilt8-Oct-09 23:25 
QuestionWindows 2008 giving a screen telling user the process is stil running and preventing the machine to log-off [modified] Pin
Kushagra Tiwari7-Oct-09 1:29
Kushagra Tiwari7-Oct-09 1:29 
AnswerRe: Windows 2008 giving a screen telling user the process is stil running and preventing the machine to log-off Pin
Sarath C7-Oct-09 2:58
Sarath C7-Oct-09 2:58 
In my knowledge it's not possible to disable this service. It's actually an information window provided by OS to make the user aware of which applications are blocking shutdown.

Application Shutdown behavior is Changed since Windows Vista. In Windows XP, applications are allowed to veto WM_QUERYENDSESSION without displaying any UI indicating why they need to cancel shutdown. These “silent shutdown failures” are highly frustrating to users, who often take a minute or two to realize that shutdown has failed because no UI was displayed. This is no longer permitted.

Applications that must block shutdown should use the new shutdown reason API. Also applications should no longer rely on always being able to block shutdown. Windows Vista/7 will also not allow console applications or applications that have no visible top-level windows to block shutdown

The details are given in The documentation is available in MSDN website.[^]

Also check this article - Describing Windows XP and Vista Shutdown in Application context[^]

-Sarath.

Rate the answers and close your posts if it's answered

GeneralRe: Windows 2008 giving a screen telling user the process is stil running and preventing the machine to log-off Pin
Kushagra Tiwari7-Oct-09 3:32
Kushagra Tiwari7-Oct-09 3:32 

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.