我是靠谱客的博主 光亮心锁,这篇文章主要介绍MFC自身对象的跨线程访问,现在分享给大家,希望可以做个参考。

In a multi-threaded application written using MFC, you should not pass MFC objects across thread boundaries. As a general rule, a thread should access only those MFC objects that it creates. Failure to do so may cause run-time problems including assertions or unexpected program behavior.


即,MFC自身提供的对象,不能跨线程访问.


最后

以上就是光亮心锁最近收集整理的关于MFC自身对象的跨线程访问的全部内容,更多相关MFC自身对象内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(46)

评论列表共有 0 条评论

立即
投稿
返回
顶部