Indeed, there is both an include and a compile-time linking.
I guess there is a solution, though: I found out that the html help viewer can be simply invoked from the command line, as Hh.exe. So starting a command Hh winboard.chm will starup the viewer with the desired help file. I guess this is really all that HtmlHelp() does. So it is trivial to write our own HtmlHelp().
