two thread
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Thread: two thread

  1. #1
    Join Date
    May 2004
    Posts
    42

    two thread

    how can i make two thread in the same application

  2. #2
    Join Date
    Dec 2003
    Location
    Omagh
    Posts
    133
    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).

  3. #3
    Join Date
    Dec 2003
    Posts
    60
    or _beginthread if you don't want to use any of the Afx functions.

  4. #4
    Join Date
    Nov 2003
    Location
    Belgium
    Posts
    8,062
    If you want GUI-threads and you are using MFC, then take a look at the CWinThread class.

  5. #5
    Join Date
    May 2000
    Location
    KY, USA
    Posts
    18,652
    [Moved thread]
    Ciao, Andreas

    "Software is like sex, it's better when it's free." - Linus Torvalds


    Article(s): Allocators (STL) Function Objects (STL)

  6. #6
    Join Date
    May 2000
    Location
    KY, USA
    Posts
    18,652

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center