Click to See Complete Forum and Search --> : thread
sky_00
July 6th, 2005, 11:54 PM
how do i make sure resources used by AfxBeginThread are all released when dialog is released?.
HWND hWnd = GetSafeHwnd();
AfxBeginThread(ThreadProc1, hWnd);
canus
July 7th, 2005, 12:10 AM
Helpful links courtesy of Andreas Masur:
Multithreading Topics (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/html/_core_multithreading_topics.asp)
Multiple Threads (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/multiple_threads.asp)
Multithreading For Rookies (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndllpro/html/msdn_threads.asp)
How to create a worker thread? (http://www.codeguru.com/forum/showthread.php?t=312452)
How to end a thread? (http://www.codeguru.com/forum/showthread.php?t=305166)
How to use member functions as thread functions? (http://www.codeguru.com/forum/showthread.php?t=312453)
How to access UI elements from a thread in MFC? (http://www.codeguru.com/forum/showthread.php?t=312454)
Andreas Masur
July 7th, 2005, 01:51 AM
[ Redirected thread ]
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.