Multithreading :: MFC

This is a discussion on Multithreading :: MFC within the Windows Programming forums, part of the Platform Specific Boards category; Hi. In an MFC project, is better to implement multithreadingusing AfxBeginThread() or a normal create-thread function such as _beginthread() and ...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348

    Multithreading :: MFC

    Hi.

    In an MFC project, is better to implement multithreadingusing AfxBeginThread() or a normal create-thread function such as _beginthread() and CreateThread()? I remember Jeff Prosise recommending AfxBeginThread() for MFC. I would like to get more inputs.

    Thanks,
    Kuphryn

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Probably better with the MFC versions.....they are better tied into the framework...

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    Okay. Thanks.

    Good point. All responses I saw recommended MFC over the Win32 API version of a thread.

    Kuphryn

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Multithreading in MFC and output
    By shav in forum Windows Programming
    Replies: 1
    Last Post: 02-21-2005, 05:38 AM
  2. CDialog & Multithreading :: MFC
    By kuphryn in forum Windows Programming
    Replies: 0
    Last Post: 06-19-2002, 06:15 PM
  3. WIndows programming?
    By hostensteffa in forum Windows Programming
    Replies: 7
    Last Post: 06-07-2002, 09:52 PM
  4. Multithreading & Problem :: MFC
    By kuphryn in forum Windows Programming
    Replies: 1
    Last Post: 06-06-2002, 01:33 PM
  5. Interesting Multithreading Problem :: MFC
    By kuphryn in forum Windows Programming
    Replies: 4
    Last Post: 04-22-2002, 03:28 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21