【发布时间】:2012-08-25 16:57:55
【问题描述】:
我想知道在 MFC 中使用 CWinThread 派生类作为工作线程的过程是什么。 msdn 文档说 CWinthread::InitInstance() 或 CWinthread::Run() 应该只用于 UI 线程。
那么除了 AfxbeginThread() 之外,还有其他方法可以创建工作线程吗?我需要在我的代码中有一个工作线程类,它将存储一些私有的更多信息,因此希望它从 CWinThread 派生。
请提出建议。
【问题讨论】:
标签: mfc