|
发表于 2020-4-25 10:30:01
|
显示全部楼层
你的RunClient不是static,需要采用member function pointer 的方式获得它的地址
System::Threading::ThreadStart^ ts = gcnew System::Threading::ThreadStart(this, &Form1::RunClient);
System::Threading::Thread^ readThread=gcnew System::Threading::Thread(ts);
readThread->Start();
|
|