Subj : Re: Beginner help To : comp.programming.threads From : Leon Mergen Date : Wed Mar 02 2005 02:10 pm On Tue, 2005-03-01 at 20:06 -0500, Scott McPhillips [MVP] wrote: > > //this is in my CSkimmerDlg somewhere to start the thread > > AfxBeginThread(StartCommunication,0) > > ... > > UINT CSkimmerDlg::StartCommunication(LPVOID p) > > {//code...} > > --------------------------- > > In my header file, I have... > > public: > > UINT StartCommunication(LPVOID); > Your StartCommunication is a class member function. That can't work: a > C compatible function is required. One solution is to put it outside of > any class. Another solution is to stick the word "static" in front of > its declaration within the class h file. You can probably also overload the () operator and pass on the class... Leon Mergen .