This is my first program in VC++.net. Am developing a GUI appln tool for receiving datas from a Processor based PCBs. Here i have to use Multithreading. I've no previous experience on using Thread. From the help of MSDN, I've tried to make it. The code layout is as follows...

<code>
void OnBnClickedReceive()
{
DWORD threadId;
int value = 10;

CreateThread(NULL, 0, File_edit, &value, 0, &threadId

}

DWORD WINAPI File_edit(LPVOID lp)
{
// processing....
}

</code>

But the Error messages came as

'CNewSerialPrintDlg::FileData_edit': function call missing argument list; use '&CNewSerialPrintDlg::FileData_edit' to create a pointer to member'


Not getting any ideas to fix it.. Plz help n give me details for a thread development.