xCHM icon

xCHM 1.19

Downloads :
Total: 89  |  
Product Version :
Producer :
License type :
Category :
May 8, 2011, 06:59
User Rating : (UNRATED)
OS Supported :
Windows 7
Windows Vista
Windows Server 2008

xCHM Information

Publisher's Description:

This tool can show the content tree if one is available, print pages, change font face and size, remember bookmarks, display a searchable index, and search for words in pages and in the entire book.

xCHM is a cross-platform GUI front-end to chmlib, with borrowed bits from Pabs' chmdeco project.
Originally written for UNIX systems (Linux, *BSD, Solaris), xCHM has been since ported to Mac OS X and Windows.

xCHM can show the content tree if one is available, print pages, change font face and size, remember bookmarks, display a searchable index, and search for words in the current page and the whole book.

Technical notes

xCHM has been implemented by creating a wxWidgets virtual filesystem that allows referring to a page in a .chm archive as "file:example.chm#xchm:/page.html". I've written a C++ wrapper around the CHMLIB C API, and added a few things of my own, such as: code for figuring out where the contents description file is in the archive, what the default page's name is, and so on. As the index file is parsable as HTML, I extended my own parser and taghandler from the respective wxWidgets classes, and used that to populate the topics tree.

I also added some code for fast searching through all the pages of the book, based on the $FIftiMain file that can be found inside indexed .chm archives. $FIftiMain is a search tree (B-tree) that, when used, yields logarithmic search times as opposed to a regular grep-like search. Initially, xCHM used a grep search wired in that seemed to work fine with small .chm files, but after some hiccups I decided to completely replace it with the fast index search (implemented since version 0.8.1). The fast index search could not have been done without Pabs' help, and in fact parts of the code have been 'borrowed' from his chmdeco project.

Sometime after version 1.0 I've written code to take advantage of more binary information in the .chm files, and now the topics and index are being extracted faster. The HTML parser that extracts information from .hhc/.hhk files is still in service, but it's only used as a fallback strategy for files without a binary index or a binary topics list.

xCHM allows XMLRPC to be used to make it display specific topics from a .chm file it's currently viewing. If you're interested in more details please see the FAQ page.

The rest is pretty much boilerplate UI code.

I assume there are probably some bugs left. I am much more interested in bug reports than feature requests.

Please point out the problem and the code section that needs improvement in bug reports. If possible, I'll need the input data as well (the .chm file that crashed/confused xCHM).


xCHM can't handle:

* .chm files packing .mht files. The wxHtmlWindow component can only handle HTML pages. I couldn't fix this one even if I wanted to; I have no clue about .mht - and it's really a wxWidgets problem (as far as it is a problem).

* non-trivial JavaScript, VBScript or Script. In fact, I believe that at the time I'm writing this the wxHtmlWindow component completely ignores all of the above.

* 'very proprietary' .chm files, making heavy use of MS-ITS:, mk:@MSITStore: links. The latter is not even supported by xCHM. So if you're trying to read Windows help files and can't quite make it, better just boot it and use hh.exe.

* complicated non-Latin charsets. It can handle some of them, sometimes. But fonts on your platform are probably not the fonts available on Windows.

* probably other things as well.

User reviews

User rating

Your rating:  
Users rating: (0 votes)

Add a Review

(It will not be displayed. Is only for contacting you)
(from the image)
Image Code

!!! Fields marked with * are required !

xCHM 100% CLEAN Certification

100% Clean Award for xCHM
RoSoftDownload.com team has tested xCHM against viruses, spyware, adware, trojan, backdoors and was found to be 100% clean of any form of malware..
Our editors will test this application periodically to assure that it remains clean.
Click the link below to view the entire antivirus report.

Complete antivirus report

Latest Office Suite

Icecream PDF Editor 2.07 icon

Icecream PDF Editor 2.07

Icecream PDF Editor is multifunctional program to edit PDF documents
January 24, 2020, 05:05 | Size: 22.1 MB
MailsDaddy PST Split Tool 1.0 icon

MailsDaddy PST Split Tool 1.0

Easily split over-sized MS Outlook PST files by using PST Splitter
January 6, 2020, 09:28 | Size: 3.94 MB
MailsDaddy EML to Office 365 Migration 1.0 icon

MailsDaddy EML to Office 365 Migration 1.0

An easy method to export EML to Office 365 and open EML data
January 6, 2020, 09:22 | Size: 5 MB
DataNumen Office Repair 4.5 icon

DataNumen Office Repair 4.5

A Microsoft Office data recovery suite. It includes recovery
January 1, 2020, 15:24 | Size: 25.25 MB
EasyCargo 2.4.1 icon

EasyCargo 2.4.1

Truck and container load planning on-line application. Easy to
December 28, 2019, 16:27 | Size: 5.41 MB
RPM Remote Print Manager Select 64 Bit icon

RPM Remote Print Manager Select 64 Bit

RPM does what you expect a virtual PDF printer to do and more.
December 28, 2019, 14:38 | Size: 53.33 MB
Inspire Writer 2.13.1 icon

Inspire Writer 2.13.1

Inspire creates a distraction-free, light markdown writing environment
December 28, 2019, 01:07 | Size: 27.60 MB
PDF-Tools 8.0.334 icon

PDF-Tools 8.0.334

Includes PDF-XChange Editor Plus and PDF-Tools; Create new PDF
December 23, 2019, 11:40 | Size: 218.12 MB
WPS Office 2019 icon

WPS Office 2019

WPS Office 2019 - The best free office suite to boost Your productivity.
December 19, 2019, 00:16 | Size: 127 MB
DataNumen DBF Repair 2.1 icon

DataNumen DBF Repair 2.1

Powerful tool to repair corrupt DBF files.
December 18, 2019, 23:51 | Size: 3.03 MB

Most Downloaded
Office Suite

FileCenter icon


Paperless office software which helps home and professional
Batch DOCX to DOC Converter icon

Batch DOCX to DOC Converter

Convert DOCX documents to/from the more classic DOC format.
Tipard PDF to Word Converter icon

Tipard PDF to Word Converter

The professional PDF to .doc converter to convert any PDF file
Batch XLSX to XLS Converter icon

Batch XLSX to XLS Converter

XLS Batch Converter that can convert Excel XLS to XLSX and XLSX
NK2Edit icon


Full NK2 editor for Microsoft Outlook, that offers AutoComplete
Dictionary .NET icon

Dictionary .NET

A tiny but smart multilingual dictionary and translation tool.
Icecream PDF Split & Merge icon

Icecream PDF Split & Merge

Program offers 4 split modes, unlimited merging and support for
Zip Express icon

Zip Express

Search data by zip code, city, county, state or area code.
Aiseesoft PDF to Word Converter icon

Aiseesoft PDF to Word Converter

Convert multi-language PDF files to doc/docx/rtf format with
Aiseesoft PDF Converter Ultimate icon

Aiseesoft PDF Converter Ultimate

Convert your PDF files to Image, Text, Word, Excel, PowerPoint2007,

Last week
Office Suite
top downloads

Kvisoft PDF Merger icon

Kvisoft PDF Merger

8 downloadsFree to merge multiple PDF documents and images into one PDF
Zip Express icon

Zip Express

5 downloadsSearch data by zip code, city, county, state or area code.
Easy Notes icon

Easy Notes

3 downloadsEdit files, manage notes, monitor tasks and use calendar in
PDFCool Free HTML to PDF Converter icon

PDFCool Free HTML to PDF Converter

3 downloadsConvert any printable html or webpage to PDF.
Contact | Privacy Policy
Copyright © 2008 - 2018 - All rights reserved.  
RoSoftDownload.com logo