title: no instance of overloaded function "AfxBeginThread" matches the argument list
body: <p>am trying to make a worker thread using MFC so here is the codes:</p>
  
  <pre><code>struct ThreadParam
  {
      HWND mDlg;    // Note: A handle.
  };
  
  UINT TestMFCThread::Test( LPVOID pParam ){
    //do work!
  }
  void TestMFCThread::OnBnClickedButton2()
  {
      ThreadParam* param = new ThreadParam;
      param-&gt;mDlg = m_hWnd;
      AfxBeginThread(Test, param);
  }
  </code></pre>
  
  <p>but it gives me this error :</p>
  
  <pre><code>1   IntelliSense: no instance of overloaded function "AfxBeginThread" matches the argument list
      argument types are: (UINT (LPVOID pParam), ThreadParam *)
  </code></pre>
  
  <p>idk whats wrong it's supposed to be right!</p>