Click here to Skip to main content
15,903,385 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: combobox Pin
«_Superman_»10-Aug-09 23:42
professional«_Superman_»10-Aug-09 23:42 
GeneralRe: combobox Pin
Member 59031010-Aug-09 23:45
Member 59031010-Aug-09 23:45 
Questionconvert TCHAR[] to BYTE* Pin
Rakesh510-Aug-09 23:35
Rakesh510-Aug-09 23:35 
AnswerRe: convert TCHAR[] to BYTE* Pin
«_Superman_»10-Aug-09 23:39
professional«_Superman_»10-Aug-09 23:39 
GeneralRe: convert TCHAR[] to BYTE* Pin
Rakesh510-Aug-09 23:56
Rakesh510-Aug-09 23:56 
GeneralRe: convert TCHAR[] to BYTE* Pin
«_Superman_»10-Aug-09 23:57
professional«_Superman_»10-Aug-09 23:57 
GeneralRe: convert TCHAR[] to BYTE* Pin
Rakesh511-Aug-09 0:04
Rakesh511-Aug-09 0:04 
General[Message Deleted] Pin
Adam Roderick J11-Aug-09 0:12
Adam Roderick J11-Aug-09 0:12 
GeneralRe: convert TCHAR[] to BYTE* Pin
Rakesh511-Aug-09 0:14
Rakesh511-Aug-09 0:14 
QuestionRe: convert TCHAR[] to BYTE* Pin
David Crow11-Aug-09 2:58
David Crow11-Aug-09 2:58 
QuestionSystemWideSetting Pin
kumar sanghvi10-Aug-09 23:34
kumar sanghvi10-Aug-09 23:34 
AnswerRe: SystemWideSetting Pin
kumar sanghvi11-Aug-09 0:00
kumar sanghvi11-Aug-09 0:00 
AnswerRe: SystemWideSetting Pin
Chandrasekharan P11-Aug-09 0:06
Chandrasekharan P11-Aug-09 0:06 
AnswerRe: SystemWideSetting Pin
David Crow11-Aug-09 3:06
David Crow11-Aug-09 3:06 
QuestionOnClose function problem Pin
Pryabu10-Aug-09 23:16
Pryabu10-Aug-09 23:16 
AnswerRe: OnClose function problem Pin
CPallini10-Aug-09 23:21
mveCPallini10-Aug-09 23:21 
GeneralRe: OnClose function problem Pin
Pryabu10-Aug-09 23:26
Pryabu10-Aug-09 23:26 
GeneralRe: OnClose function problem Pin
«_Superman_»10-Aug-09 23:38
professional«_Superman_»10-Aug-09 23:38 
GeneralRe: OnClose function problem Pin
Pryabu10-Aug-09 23:43
Pryabu10-Aug-09 23:43 
GeneralRe: OnClose function problem Pin
Pryabu11-Aug-09 2:01
Pryabu11-Aug-09 2:01 
GeneralRe: OnClose function problem Pin
David Crow11-Aug-09 3:12
David Crow11-Aug-09 3:12 
GeneralRe: OnClose function problem Pin
Nishad S11-Aug-09 3:16
Nishad S11-Aug-09 3:16 
One simple solution (I think) would be

1. Write the status as STARTED to a status file when the application starts
2. Update it to CLOSED when application exits

You can check this status file to ensure whether the application closed normally or not.

One thing is that, when an application crashes no OnClose() like functions are called. Actually the OS is terminating the process.

- ns ami -

QuestionTiltleBar Pin
kumar sanghvi10-Aug-09 21:29
kumar sanghvi10-Aug-09 21:29 
AnswerRe: TiltleBar Pin
«_Superman_»10-Aug-09 22:25
professional«_Superman_»10-Aug-09 22:25 
GeneralRe: TiltleBar Pin
kumar sanghvi10-Aug-09 22:38
kumar sanghvi10-Aug-09 22:38 

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.