how can i make two thread in the same application
Printable View
how can i make two thread in the same application
You need to look at AfxBeginThread. This allows you to create a new thread. This can either be a Worker thread (background) or a interface thread (works with the user interface).
or _beginthread if you don't want to use any of the Afx functions.
If you want GUI-threads and you are using MFC, then take a look at the CWinThread class.
[Moved thread]