I wanted to add help file for my app and tried this:
Code: Select all
wxCHMHelpController *help = new wxCHMHelpController;
help->Initialize( "myapp.chm");
help->LoadFile();
help->DisplayContents();
Code: Select all
wxHelpController *Myhelp = new wxHelpController();
Myhelp->Initialize("myapp.chm");
Myhelp->DisplayContents();
Once i create the setup file and install the application, if i open the app through the start menu or the desktop shortcut, the help file wont showup.
I zeroed the problem to be of the path. If i directly go to program files and open the app, the help file will show up. Basically, it should check for the file in the folder where the app is installed.
I would like to know what others are doing for this. or am i missing anything?
Thanks in advance
Deepak