Open .chm file at specific page/topic using command line arguments

c++, chm, view-helpers

Solution

Ok the arguments are like so:

system(" /Q /E:ON /C HH.EXE ms-its:myChm.chm::myPageName.htm");

Problem

I am attempting to open a .chm file(A windows help file) at a specific page/topic by using a system call in C++. I can successfully open the .chm file to the start page through the following code, but how can I open a .chm file to a specific page/topic inside the help file? ``` system("start c:/help/myhelp.chm"); ``` PS: I know system is evil/discouraged but the system part is not really relevant its the command line arguments I pass with the .chm file(that will specify what page I want to open) that I am trying to determine.

Original source