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

C / C++ / MFC

 
Questionexit handler Pin
Chintoo72324-Oct-05 20:30
Chintoo72324-Oct-05 20:30 
AnswerRe: exit handler Pin
Christian Graus24-Oct-05 20:33
protectorChristian Graus24-Oct-05 20:33 
GeneralRe: exit handler Pin
Chintoo72324-Oct-05 20:40
Chintoo72324-Oct-05 20:40 
GeneralRe: exit handler Pin
khan++24-Oct-05 20:42
khan++24-Oct-05 20:42 
GeneralRe: exit handler Pin
vikas amin24-Oct-05 21:11
vikas amin24-Oct-05 21:11 
AnswerRe: exit handler Pin
Cedric Moonen24-Oct-05 21:45
Cedric Moonen24-Oct-05 21:45 
GeneralRe: exit handler Pin
Chintoo72324-Oct-05 22:05
Chintoo72324-Oct-05 22:05 
GeneralRe: exit handler Pin
Cedric Moonen24-Oct-05 22:23
Cedric Moonen24-Oct-05 22:23 
If you start thinking like that, you can also suppose that you'll need to save your data every 10 seconds because a crash of the system can occur (or no power), that you have to ask for confirmation for everything the user enter as data because it may be the cat that is walking on the keyboard, ...
And for the sake of completeness, you may also detect that a mouse, a keyboard and a screen are well connected to your computer Wink | ;) .

It is clear that using the TaskManager to close an application will result in memory leaks (it is clearly stated when you try to kill an app). But if the user still want to continue, then it's up to him.
GeneralRe: exit handler Pin
toxcct24-Oct-05 22:39
toxcct24-Oct-05 22:39 
GeneralRe: exit handler Pin
Anonymous24-Oct-05 23:01
Anonymous24-Oct-05 23:01 
AnswerRe: exit handler Pin
David Crow25-Oct-05 3:42
David Crow25-Oct-05 3:42 
QuestionWant to create a DLL?? Pin
vikas amin24-Oct-05 20:15
vikas amin24-Oct-05 20:15 
AnswerRe: Want to create a DLL?? Pin
Christian Graus24-Oct-05 20:34
protectorChristian Graus24-Oct-05 20:34 
AnswerRe: Want to create a DLL?? Pin
Eytukan24-Oct-05 23:17
Eytukan24-Oct-05 23:17 
AnswerRe: Want to create a DLL?? Pin
ThatsAlok25-Oct-05 2:11
ThatsAlok25-Oct-05 2:11 
Questionhow to open DLL files Pin
QuickDeveloper24-Oct-05 18:34
QuickDeveloper24-Oct-05 18:34 
AnswerRe: how to open DLL files Pin
ThatsAlok24-Oct-05 18:46
ThatsAlok24-Oct-05 18:46 
AnswerRe: how to open DLL files Pin
Anonymous24-Oct-05 19:47
Anonymous24-Oct-05 19:47 
GeneralRe: how to open DLL files Pin
QuickDeveloper24-Oct-05 20:27
QuickDeveloper24-Oct-05 20:27 
GeneralRe: how to open DLL files Pin
toxcct24-Oct-05 22:36
toxcct24-Oct-05 22:36 
GeneralRe: how to open DLL files Pin
S Douglas24-Oct-05 22:49
professionalS Douglas24-Oct-05 22:49 
AnswerRe: how to open DLL files Pin
vikas amin24-Oct-05 20:49
vikas amin24-Oct-05 20:49 
GeneralRe: how to open DLL files Pin
ThatsAlok24-Oct-05 23:12
ThatsAlok24-Oct-05 23:12 
QuestionFastest way to get a file size? Pin
Andrei B24-Oct-05 17:32
Andrei B24-Oct-05 17:32 
AnswerRe: Fastest way to get a file size? Pin
TrueTom24-Oct-05 18:55
TrueTom24-Oct-05 18:55 

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.