多线程遇到这个问题:error C2352: 'CWnd::GetDlgItem' : illegal call of non-static member function
在线程函数中调用GetDlgItem函数时会出现错误提示:error C2352: 'CWnd::GetDlgItem' : illegal call of non-static member function
我的线程函数是静态的.这个错误出现的原因也知道,不能在静态函数中调用非静态的函数和成员变量.但是我不知道如何解决这个问题.请各位帮个忙.谢谢了.