Click here to Skip to main content
15,890,123 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Breakpoints in Wincore.cpp Pin
Randor 6-Nov-09 7:15
professional Randor 6-Nov-09 7:15 
QuestionCDatabase::OpenEx failure kills UI thread Pin
Gary Wheeler6-Nov-09 5:13
Gary Wheeler6-Nov-09 5:13 
QuestionRe: CDatabase::OpenEx failure kills UI thread Pin
Randor 6-Nov-09 6:25
professional Randor 6-Nov-09 6:25 
AnswerRe: CDatabase::OpenEx failure kills UI thread Pin
Gary Wheeler6-Nov-09 8:35
Gary Wheeler6-Nov-09 8:35 
QuestionRunning task on shutdown Pin
__DanC__6-Nov-09 2:29
__DanC__6-Nov-09 2:29 
AnswerRe: Running task on shutdown Pin
Randor 6-Nov-09 6:08
professional Randor 6-Nov-09 6:08 
GeneralRe: Running task on shutdown Pin
Rajesh R Subramanian6-Nov-09 6:09
professionalRajesh R Subramanian6-Nov-09 6:09 
GeneralRe: Running task on shutdown Pin
__DanC__6-Nov-09 6:18
__DanC__6-Nov-09 6:18 
Thanks for the reply, it is a user mode application and I know I can prevent shutdown by returning false for WM_QUERYENDSESSION but that keeps the logged in session alive, what I want to do is to run the code during the logoff, effectively after the user has been logged off.

For example, when you a running Windows XP on a domain and you have offline file enabled, you will see the synchronisation window appear during the logoff to sync any remaining files back to the domain controller, I'm trying to achieve something like this. The app does not have to remain a user mode app, it could quite easily become a service if that is required but preventing the logoff is not what I'm trying to achieve.

Thanks.
GeneralRe: Running task on shutdown Pin
Randor 6-Nov-09 6:51
professional Randor 6-Nov-09 6:51 
GeneralRe: Running task on shutdown Pin
__DanC__6-Nov-09 6:53
__DanC__6-Nov-09 6:53 
GeneralRe: Running task on shutdown Pin
Randor 6-Nov-09 7:07
professional Randor 6-Nov-09 7:07 
QuestionCreate Split Window in RightView of SDI Pin
Abinash Mohanty5-Nov-09 23:16
Abinash Mohanty5-Nov-09 23:16 
AnswerRe: Create Split Window in RightView of SDI Pin
Adam Roderick J5-Nov-09 23:22
Adam Roderick J5-Nov-09 23:22 
AnswerRe: Create Split Window in RightView of SDI Pin
jinlsg8-Nov-09 14:15
jinlsg8-Nov-09 14:15 
Questionwhere is my fault? Pin
goutom roy5-Nov-09 23:10
goutom roy5-Nov-09 23:10 
AnswerRe: where is my fault? Pin
Richard MacCutchan6-Nov-09 0:03
mveRichard MacCutchan6-Nov-09 0:03 
AnswerRe: where is my fault? Pin
Michael Schubert6-Nov-09 0:22
Michael Schubert6-Nov-09 0:22 
GeneralRe: where is my fault? PinPopular
David Crow6-Nov-09 3:27
David Crow6-Nov-09 3:27 
Questionhow to place CFromview on CDialog? [modified] Pin
jinlsg5-Nov-09 22:22
jinlsg5-Nov-09 22:22 
QuestionRe: how to place CFromview on CDialog? Pin
Adam Roderick J5-Nov-09 22:59
Adam Roderick J5-Nov-09 22:59 
AnswerRe: how to place CFromview on CDialog? Pin
David Crow6-Nov-09 3:28
David Crow6-Nov-09 3:28 
AnswerRe: how to place CFromview on CDialog? Pin
baerten6-Nov-09 3:53
baerten6-Nov-09 3:53 
QuestionUnhandled exception at 0x7714c3c2 Pin
MsmVc5-Nov-09 20:54
MsmVc5-Nov-09 20:54 
AnswerRe: Unhandled exception at 0x7714c3c2 Pin
Adam Roderick J5-Nov-09 21:11
Adam Roderick J5-Nov-09 21:11 
GeneralRe: Unhandled exception at 0x7714c3c2 Pin
MsmVc5-Nov-09 21:14
MsmVc5-Nov-09 21:14 

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.