摘要: 原文:http://www.cppblog.com/sandy/archive/2005/12/31/2320.aspxPostThreadMessage的原型是这样的BOOL PostThreadMessage(DWORD idThread, UINT Msg, WPARAM wParam, LPARAM lParam);PostThreadMessage可以用于线程之间的异步通讯,因为它不用等待调用者返回,这也许是线程通讯中最简单的一种方法了。但是要注意以下问题1 .PostThreadMessage有时会失败,报1444错误(Invalid thread identifier. )其实这 阅读全文
posted @ 2012-09-20 23:15 质点314 阅读(284) 评论(0) 推荐(0) 编辑