Question: I'm currently developing an application that uses private Windows messages to trigger (some) code execution (for programmers: defined as [WM\_USER](https://msdn.microsoft.com/en-us/library/windows/desktop/ms644931%28v=vs.85%29.aspx) + n).

I would like to track the order in which some of these are processed by the OS and handled in my app. I can not find sufficient facilities in my IDE to do so.

A free tool would be nice.

FWIW I Develop in Delphi XE2

Answer: 
pdf2htmlEX accurately converts PDFs to HTML and retains the formatting. However, the generated HTML code is hard to read and parse programmatically. It is free, open source, and works offline on a variety of platforms.

<https://github.com/coolwanglu/pdf2htmlEX>

<https://github.com/coolwanglu/pdf2htmlEX/wiki/Download>
The "Free PDF to HTML Converter" software (you can find it here: <http://www.free-pdf-to-word.org/tutorials/freepdftohtmlconverter01_how_to_convert_pdf_to_html.html>) is a pretty good one. I've used it to convert several PDFs to HTML files and so far I'm quite satisfied with the output. It maintains the layout of the PDF quite well and you can choose whether you'd like to store the images from the PDF in a separate folder or not. 

P.S. The download link is somewhere on the right where it says "Required Resources".