User forums > Help

Problem with Help

<< < (3/4) > >>

gd_on:
With if(false) and your last  proposal (DWORD_PTR), it works too.

Miguel Gimenez:
Just to clarify, if (false) works and the casting to DWORD_PTR (with the original if()) also works?

gd_on:
OK, I finally don't clearly understand what happens.
if i use if(false) it works.
if I use the original if(fp_htmlhelp) with DWORD_PTR, it does not work.
if I use the original if(fp_htmlhelp) with the modified conditionnal #if (|| instead of |), it does not work.
if I totally delete the condition if(fp_htmlhelp), but keep, of course, the original call to wx help (line with m_helpctl.KeywordSearch(m_keyword); ), it works.
I think that it was what happens with my try to if(!fp_htmlhelp) or if(false), because as you told, fp_htmlhelp is initialized to 0, but finally set to an address in the help plugin constructor.

Miguel Gimenez:
I don't see the point for duplicating the funcionality of wxCHMHelpController, even more if duplication is buggy.

This patch removes all traces of direct calls to HHCTRL.OCX

gd_on:
Patch tested. OK for me ... 8)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version