调用HtmlHelp始终不能成功
void CChildFrame::OnExtendtoolHelp()
{
char exeFullPath[MAX_PATH];
CString strPath;
GetModuleFileName(NULL, exeFullPath, MAX_PATH);
strPath = CString(exeFullPath);
strPath = strPath.Left(strPath.ReverseFind('\\'));
strPath += "\\MyHelp.chm";
char cCommandLine[MAX_PATH];
::strcpy(cCommandLine, strPath);
HtmlHelp(GetSafeHwnd(), cCommandLine, HH_DISPLAY_TOPIC, 0);
}
--------------------Configuration: ExtendTool - Win32 Release--------------------
Compiling...
ChildFrm.cpp
Linking...
ChildFrm.obj : error LNK2001: unresolved external symbol _HtmlHelpA@16
D:\ExtendTool\Release/ExtendTool.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Creating browse info file...
ExtendTool.exe - 2 error(s), 0 warning(s)
请教怎么解决?谢谢。