Decompiling CHM (help) files with C or c++
I want to decompile CHM file to HTML format . Is it possible u开发者_StackOverflow社区sing c or c++ ? Is there any c or c++ library to do this.
It is possible using C++. If you use Windows, you can do it using COM. An example you can find here. This article is about C#, but it is done using COM interfaces and you can easily do the same in C++.
The open source 7-zip file manager can browse and extract content from a .chm file. Right-click and select Open Inside. Download is here.
There's CHMlib, which has the libCHMxx binding for C++ ; it seems it could run both on Linux and Windows.
精彩评论