我在使用api来创建线程,编译时出现了一个错误,不知道是什么原因造成的,请大家帮忙看看,源代码如下:
 CreateThread(NULL,0,CompressPicture,NULL,0,NULL);
报错信息如下:
error C3867: 'CPicture::CompressPicture': function call missing argument list; use '&CPicture::CompressPicture' to create a pointer to member