Easiest way to open chm files programmatically?

Posted by Adrian Grigore on Stack Overflow See other posts from Stack Overflow or by Adrian Grigore
Published on 2009-11-17T13:12:51Z Indexed on 2010/04/10 14:03 UTC
Read the original article Hit count: 585

Hi,

I have a legacy 32-bit application written in Borland's C++ Builder. I need to show specific pages from within a HtmlHelp file programmatically. Until now I've been doing this via HtmlHelp.ocx, but this does not work on x64 versions of Windows Vista / Windows7 as described in this thread.

I can't compile the application as 64-bit executable. Therefore the only workaround I have found so far is to create a 32-bit component implementing a COM object which loads and calls into the 32-bit DLL, and exposes the 32-bit DLL interface as a COM interface.

That sounds far too complicated just to display a chml file with a specific topic. There must be something else. But what is it?

© Stack Overflow or respective owner

Related posts about htmlhelp

Related posts about windows-7-x64