Friday, June 12, 2020

new HTML help API errors.....

when I compiled converted MFC demo on HTML API calling functions, I got this error:

Error C2660 'CWinApp::HtmlHelpA': function does not take 4 arguments hh4mfc d:\html_help_tutorials\hh4mfc\hh4mfc.cpp

  1. Error C2660 'CWinApp::HtmlHelpA': function does not take 4 arguments
  2. HtmlHelp Errors in VS 2005
  3. You need to write:

    ::HtmlHelp(m_pMainWnd->m_hWnd, m_pszHelpFilePath, HH_HELP_CONTEXT, dwData);

    to get the global HtmlHelp() rather than CWinApp::HtmlHelp().


No comments:

Post a Comment