<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments for Aymeric on software</title>
	<atom:link href="http://blog.barthe.ph/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.barthe.ph</link>
	<description>Because we needed another of these blogs...</description>
	<pubDate>Sun, 05 Sep 2010 08:41:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Make LoadLibrary() failures silent on Win2k by Aymeric</title>
		<link>http://blog.barthe.ph/2009/12/03/silent_loadlibrary/comment-page-1/#comment-1779</link>
		<dc:creator>Aymeric</dc:creator>
		<pubDate>Thu, 03 Dec 2009 14:53:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.barthe.ph/?p=513#comment-1779</guid>
		<description>&lt;a href="#comment-1775" rel="nofollow"&gt;@Ferruccio&lt;/a&gt; 
Are you thinking of using LoadLibraryEx() with LOAD_LIBRARY_AS_DATAFILE? That approach does not work. The LoadLibraryEx would always succeed regardless of whether the CRT is installed or not. Also, I suspect running DllMain is useful, there might be extra checks done by the CRT. If DllMain returns FALSE, the LoadLibrary call fails.</description>
		<content:encoded><![CDATA[<p><a href="#comment-1775" rel="nofollow">@Ferruccio</a><br />
Are you thinking of using LoadLibraryEx() with LOAD_LIBRARY_AS_DATAFILE? That approach does not work. The LoadLibraryEx would always succeed regardless of whether the CRT is installed or not. Also, I suspect running DllMain is useful, there might be extra checks done by the CRT. If DllMain returns FALSE, the LoadLibrary call fails.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Make LoadLibrary() failures silent on Win2k by Ferruccio</title>
		<link>http://blog.barthe.ph/2009/12/03/silent_loadlibrary/comment-page-1/#comment-1775</link>
		<dc:creator>Ferruccio</dc:creator>
		<pubDate>Thu, 03 Dec 2009 13:13:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.barthe.ph/?p=513#comment-1775</guid>
		<description>This isn't just a Win2k issue. This has been the case for all versions of Windows going back all the way to 16-bit Windows. The only problem with this approach is that loading the DLL in this manner will cause the code in its DllMain() function to be executed, which is probably harmless. You may want to use the LoadLibraryEx() function which lets you load the library as data, avoiding running DllMain().

Also SetErrorMode() returns its previous setting. It's good practice to set it back after the LoadLibrary().</description>
		<content:encoded><![CDATA[<p>This isn&#8217;t just a Win2k issue. This has been the case for all versions of Windows going back all the way to 16-bit Windows. The only problem with this approach is that loading the DLL in this manner will cause the code in its DllMain() function to be executed, which is probably harmless. You may want to use the LoadLibraryEx() function which lets you load the library as data, avoiding running DllMain().</p>
<p>Also SetErrorMode() returns its previous setting. It&#8217;s good practice to set it back after the LoadLibrary().</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fast subversion update on a rarely updated large third party repository by Dan</title>
		<link>http://blog.barthe.ph/2009/06/01/fast-svn-update/comment-page-1/#comment-1506</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Tue, 02 Jun 2009 02:45:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.barthe.ph/?p=174#comment-1506</guid>
		<description>Nice.  Thanks, I'd forgotten about "info" - good post.</description>
		<content:encoded><![CDATA[<p>Nice.  Thanks, I&#8217;d forgotten about &#8220;info&#8221; - good post.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
