I have read how to end a task in c++ and i found a lot. But I'm most interested in WM_CLOSE and TerminateProcess() if any 1 could tell me how it works and add an example code. Thanks in advance
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What do you mean by 'task'. Windows has two tasking models - process and threads. A process may have multiple threads. TerminateProcess() does exactly what it says on the tin ( and in the documentation http://msdn.microsoft.com/en-us/library/ms686714(VS.85).aspx ). What do you want to know that is not already in the documentation.
Equally WM_CLOSE is a windows message, how you process it is up to you. What do you need to know that is not already in the documentation: http://msdn.microsoft.com/en-us/library/ms632617(VS.85).aspx ?
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have read how to end a task in c++ and i found a lot. But I'm most interested in WM_CLOSE and TerminateProcess() if any 1 could tell me how it works and add an example code. Thanks in advance
Vague question of the week award goes to you. ;-)
What do you mean by 'task'. Windows has two tasking models - process and threads. A process may have multiple threads. TerminateProcess() does exactly what it says on the tin ( and in the documentation http://msdn.microsoft.com/en-us/library/ms686714(VS.85).aspx ). What do you want to know that is not already in the documentation.
Equally WM_CLOSE is a windows message, how you process it is up to you. What do you need to know that is not already in the documentation: http://msdn.microsoft.com/en-us/library/ms632617(VS.85).aspx ?
Clifford