Thread: Multithreading :: MFC

  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,793
    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, 05:15 PM
  3. WIndows programming?
    By hostensteffa in forum Windows Programming
    Replies: 7
    Last Post: 06-07-2002, 08:52 PM
  4. Multithreading & Problem :: MFC
    By kuphryn in forum Windows Programming
    Replies: 1
    Last Post: 06-06-2002, 12:33 PM
  5. Interesting Multithreading Problem :: MFC
    By kuphryn in forum Windows Programming
    Replies: 4
    Last Post: 04-22-2002, 02:28 PM