|
Your RunClient is not static, you need to use member function pointer to get its address
System :: Threading :: ThreadStart ^ ts = gcnew System :: Threading :: ThreadStart (this,&Form1 :: RunClient);
System :: Threading :: Thread ^ readThread = gcnew System :: Threading :: Thread (ts);
readThread-> Start (); |
|