<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>HTML Help in MFC</title><link>http://msmvps.com/blogs/alunj/archive/2008/10/12/1650663.aspx</link><description>I recently got around to converting an old MFC project from WinHelp format to HTML Help. Mostly this was to satisfy customers who are using Windows Vista or Windows Server 2008, but who don’t want to install WinHlp32 from Microsoft. (If you do want to</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>re: HTML Help in MFC</title><link>http://msmvps.com/blogs/alunj/archive/2008/10/12/1650663.aspx#1650737</link><pubDate>Mon, 13 Oct 2008 22:01:56 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1650737</guid><dc:creator>David LeBlanc</dc:creator><description>&lt;p&gt;Another point, and part of why winhlp32 got removed is that a .hlp file is equivalent to an executable. I&amp;#39;ve blogged about this before, but basically, a help macro could invoke system(arbitrary_command). This is by (very old, antique) design, which makes them fundamentally insecure. If you don&amp;#39;t want to contribute to your customer&amp;#39;s insecurity, update to a help system that&amp;#39;s newer. We&amp;#39;ve only been told to use HTML help for about the last 10 years.&lt;/p&gt;
&lt;p&gt;This is also why the people who seem to find an overrun in winhlp32 about once a year or so for .hlp or .cnt files are working too hard. Kind of like finding an overrun in the batch file handler. May as well just run the command you want instead of dinking with shell code.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1650737" width="1" height="1"&gt;</description></item></channel></rss>