CB中调用帮助文件内的索引文件的问题,有源码,帮忙看一下,谢谢
1、在DOS状态下,在c:\program files\Borland\CBuilder6\bin目录执行
implib hhctrl.lib hhctrl.ocx
2、
头文件:#include <htmlhelp.h>
void __fastcall TForm1::Button1Click(TObject *Sender)
{
HtmlHelp(
GetDesktopWindow(),AnsiString("E:\\Help.chm::/index").c_str(),
HH_DISPLAY_TOPIC,NULL) ;
}
其中index是Help.chm内的一个索引文件。
//------------------------------------------------------------------------
编译后出现如下错误:
[Linker Error] Unresolved external 'HtmlHelpA' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ
不知何解,请指教,谢谢