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
- Error C2660 'CWinApp::HtmlHelpA': function does not take 4 arguments
- HtmlHelp Errors in VS 2005
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