How can I open a help file (chm or so) from my GUI developed in VC++ 2008?
问题 I'm trying to add some help to my GUI developed in VC++ 2008. I want to compile a chm file, or a hlp file that can be accessed from my menu. Anyone can give me any idea about how to do this? Thanks a lot 回答1: Under HKLM\Software\Microsoft\Windows\HTMLHelp , create an entry named help.chm value C:\path to\help file.chm Then to open the chm at a particular topic call HtmlHelp(m_hWnd, "Help.chm", HH_DISPLAY_TOPIC, NULL); 回答2: You could just ShellExecute the .chm file. That will open it.