June 3rd, 2004, 01:24 PM
how can i make two thread in the same application
June 3rd, 2004, 02:27 PM
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).
June 3rd, 2004, 02:33 PM
or _beginthread if you don't want to use any of the Afx functions.
June 3rd, 2004, 03:03 PM
If you want GUI-threads and you are using MFC, then take a look at the CWinThread class.
June 6th, 2004, 06:23 AM
June 6th, 2004, 06:24 AM
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.