Hello. I am trying to convert my chat client from a C++ program that runs in DOS into one that runs in a Windows Dialog. I am using Visual C++. However, I am already getting a second error (please understand that there have been many before this that I have been able to fix....):
_beginthread(CIlikerpsChatClientDlg::ThreadMessages, 0, NULL);
Here is the declaration of ThreadMessages:
void CIlikerpsChatClientDlg::ThreadMessages(void *dummy)
On my DOS server (I hadn't had to use multithreading in my client), this worked fine, although now I am getting the error "error C2664: '_beginthread' : cannot convert parameter 1 from 'void (void *)' to 'void (__cdecl *)(void *)'"