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

C / C++ / MFC

 
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 
QuestionIs there any posssibility to see the function definitions of dll file? Pin
bahareh6557-Oct-09 0:37
bahareh6557-Oct-09 0:37 
AnswerRe: Is there any posssibility to see the function definitions of dll file? Pin
KarstenK7-Oct-09 1:19
mveKarstenK7-Oct-09 1:19 
AnswerRe: Is there any posssibility to see the function definitions of dll file? Pin
Richard MacCutchan7-Oct-09 2:34
mveRichard MacCutchan7-Oct-09 2:34 
AnswerRe: Is there any posssibility to see the function definitions of dll file? Pin
David Crow7-Oct-09 2:55
David Crow7-Oct-09 2:55 
AnswerRe: Is there any posssibility to see the function definitions of dll file? Pin
kilt8-Oct-09 23:26
kilt8-Oct-09 23:26 
QuestionCRICHEDITCTRL 'S BORDER Pin
prithaa7-Oct-09 0:30
prithaa7-Oct-09 0:30 
QuestionExcel Automation: iDispatch->Invoke method Pin
NarVish6-Oct-09 23:42
NarVish6-Oct-09 23:42 
QuestionVibration in Windows mobile 6 Professional Pin
spret856-Oct-09 22:46
spret856-Oct-09 22:46 
AnswerRe: Vibration in Windows mobile 6 Professional Pin
Rajesh R Subramanian6-Oct-09 23:23
professionalRajesh R Subramanian6-Oct-09 23:23 
Questionhow to draw line by dragging mouse inside rectangle in dialog based application in vc++,mfc Pin
prerananit6-Oct-09 22:31
prerananit6-Oct-09 22:31 
QuestionRe: how to draw line by dragging mouse inside rectangle in dialog based application in vc++,mfc Pin
CPallini6-Oct-09 22:47
mveCPallini6-Oct-09 22:47 
AnswerRe: how to draw line by dragging mouse inside rectangle in dialog based application in vc++,mfc Pin
wangningyu6-Oct-09 22:52
wangningyu6-Oct-09 22:52 
GeneralRe: how to draw line by dragging mouse inside rectangle in dialog based application in vc++,mfc Pin
CPallini6-Oct-09 22:58
mveCPallini6-Oct-09 22:58 
QuestionHow to load the Url Image ? Pin
wangningyu6-Oct-09 22:24
wangningyu6-Oct-09 22:24 
AnswerRe: How to load the Url Image ? Pin
Iain Clarke, Warrior Programmer6-Oct-09 22:57
Iain Clarke, Warrior Programmer6-Oct-09 22:57 
Questionconvert const wchar* to const byte* Pin
Rakesh56-Oct-09 22:02
Rakesh56-Oct-09 22:02 

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.