jlopez
November 23rd, 2004, 06:31 AM
Once upon a time there was a thread:
UINT CIrisAdqDlg::CaptureImageThread(LPVOID pParam)
{
...
}
And one day I tried to launch it:
void CIrisAdqDlg::OnStart()
{
...
AfxBeginThread(CIrisAdqDlg::CaptureImageThread, this);
...
}
But VC++ didn't want:
...
error C2665: 'AfxBeginThread' : none of the 2 overloads can convert parameter 1 from type 'unsigned int (void *)'
...
I am sure it worked in the past, so I don't know what it's really happening now.
Thanks!
UINT CIrisAdqDlg::CaptureImageThread(LPVOID pParam)
{
...
}
And one day I tried to launch it:
void CIrisAdqDlg::OnStart()
{
...
AfxBeginThread(CIrisAdqDlg::CaptureImageThread, this);
...
}
But VC++ didn't want:
...
error C2665: 'AfxBeginThread' : none of the 2 overloads can convert parameter 1 from type 'unsigned int (void *)'
...
I am sure it worked in the past, so I don't know what it's really happening now.
Thanks!