一、在创建静态成员函数当做线程函数时出现问题:
1、出现错误:'AfxBeginThread' : none of the 2 overloads could convert all the argument type
发现是因为在创建时添加__stdcall (static __stdcall UINT myComThreadFunc(LPVOID lparam);),去掉之后就可以了。
2、在.h文件中定义静态成员函数时需要static,但在实现函数中要去掉static,否则会编译出错。
参考:1、MFC下多线程的建立 :http://blog.csdn.net/erick08/article/details/7315896
2、错误:'AfxBeginThread' : none of the 2 overloads can convert parameter 1 from type 'unsigned int (void *)' :http://blog.csdn.net/mannhello/article/details/4969465
3、。。。