#### Topic: Operation with flows (threads) in MFC

Whether prompt, dear colleagues how is better to work with flows (threads) in MFC? There is a function producing mathematical calculations. This function big on length and its actions happen in a cycle before performance of a certain condition. This function works in a console mode - input and output of the data there happens to the help of a console window. How it is better to place this function in a flow - to use class CWinThread, to use function AfxBeginThread or to use functions WinAPI for operation with flows?