一个非常着急的问题 谢谢关注
我想问的是关于多线程的编程
这是我写的
ThreadID[j]=CreateThread(NULL,0,(LPTHREAD_START_ROUTINEConnect,&i,0,NULL);
这句话是我类中一个成员函数的一句话
其中的Connect也是类的另一成员函数
提示错误是
D:\项目练习\ScanPort\socket.cpp(76) : error C2440: 'type cast' : cannot convert from '' to 'unsigned long (__stdcall *)(void *)'
None of the functions with this name in scope match the target type
Error executing cl.exe.
3x