marathoner
2007-06-20 22:19:53 UTC
In Visual C++ 6.0, I used the statement
HtmlHelp(m_pMainWnd->m_hWnd, m_pszHelpFilePath, HH_HELP_CONTEXT, dwData);
which compiled just fine. When I attempted to compile this statement in
VS2005, I get the following syntax error:
.\SampleFile.cpp(172) : error C2660: 'CWinApp::HtmlHelpA' : function does
not take 4 arguments
How do we fix this error?
HtmlHelp(m_pMainWnd->m_hWnd, m_pszHelpFilePath, HH_HELP_CONTEXT, dwData);
which compiled just fine. When I attempted to compile this statement in
VS2005, I get the following syntax error:
.\SampleFile.cpp(172) : error C2660: 'CWinApp::HtmlHelpA' : function does
not take 4 arguments
How do we fix this error?