HANDLE hThread;
DWORD ThreadID;
//---------线程信息----
struct threadInfo
{
/*UINT nMilliSecond;
CProgressCtrl* pctrlProgress;*/
CEdit *ed;
int sco;
};
UINT ThreadFunc(LPVOID lpParam);//线程函数
hThread=CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)ThreadFunc1,&Info1,0,&ThreadID);
ThreadFunc(LPVOID lpParam)
{
//...
}