摘要:http://www.cppblog.com/sandy/archive/2009/02/14/2320.htmlPostThreadMessage的原型是这样的 BOOL PostThreadMessage(DWORD idThread, UINT Msg, WPARAM wParam, LPARAM lParam);PostThreadMessage可 以用于线程之间的异步通讯,因为它不用等待调用者返回,这也许是线程通讯中最简单的一种方法了。但是要注意以下问题1 .PostThreadMessage有时会失败,报1444错误(Invalid thread identifier. )其实
阅读全文
posted @ 2011-01-25 23:21