Var St:Array[0..255] of char;
begin
ShellExecute(Handle,'open',StrPCopy(St,Bpath+'\huamin.chm'),nil,nil,SW_SHOW);
end;
begin
ShellExecute(Handle,'open',StrPCopy(St,Bpath+'\huamin.chm'),nil,nil,SW_SHOW);
end;
begin
ShellExecute(Handle,'open',StrPCopy(St,'E:\huamin.chm'),nil,nil,SW_SHOW);
end;
Function Long HtmlHelpA (long hwnd ,string lpHelpFile , long wCommand, string dwData) Library "hhctrl.ocx"
在代码中调用
htmlhelpA(handle(this), "a.chm" + ">" + "main", HH_DISPLAY_TOPIC, "aaa.htm")
//PB下的声明