I get a GPF with the following:
#define HH_DISPLAY_INDEX 2
HTMLHelp( oWnd:hWnd, "RMCHART.CHM", HH_DISPLAY_INDEX, 0 )
OR...
HTMLHelp( 0, "RMCHART.CHM", HH_DISPLAY_INDEX, 0 )
I also get a GPF if I include the full path to RMCHART.CHM.
Before getting the GPF, the standard window for displaying a CHM help file is displayed, and then the hated Windows error box is displayed asking if I want to auto-email the GPF error report to MS.
Problem launching CHM help file
- Roger Seiler
- Posts: 223
- Joined: Thu Dec 01, 2005 3:34 pm
- Location: Nyack, New York, USA
- Contact:
- Roger Seiler
- Posts: 223
- Joined: Thu Dec 01, 2005 3:34 pm
- Location: Nyack, New York, USA
- Contact:
I guess the problem must be some incompatibility with RMCHART.CHM because if I copy Fwfun.chm into the same folder and then substitute "Fwfun.chm" in the function call instead of "Rmchart.chm", then the FiveWin help file displays okay.
However, If I launch Rmchart.chm from outside my app, then it launches okay.
Are some CHM files more equal than others?
However, If I launch Rmchart.chm from outside my app, then it launches okay.
Are some CHM files more equal than others?
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Roger Seiler
- Posts: 223
- Joined: Thu Dec 01, 2005 3:34 pm
- Location: Nyack, New York, USA
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: