Subj : Beginner help To : comp.programming.threads From : greyham433 Date : Tue Mar 01 2005 03:58 pm I'm trying to create a basic thread using AfxBeginThread() but it's just not working and I'm pulling out my hair. Here's what I've got... //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); But when I try to compile, I get an error: error C2665: 'AfxBeginThread' : none of the 2 overloads can convert parameter 1 from type 'unsigned int (void *)' Anyone knows what gives? Thanks for your time. .