我正在开发一个.NET探查器,它是用C++编写的(一个使用ATL的dll)。我想创建一个线程,每30秒写入一个文件。我希望线程函数成为我的一个类的方法DWORDWINAPICProfiler::MyThreadFunction(void*pContext){//Instructionsthatmanipulateattributesfrommyclass;}当我尝试启动线程时HANDLEl_handle=CreateThread(NULL,0,MyThreadFunction,NULL,0L,NULL);我得到了这个错误:argumentoftype"DWORD(__stdcallCP