<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Greg Dolley's Weblog</title>
	<atom:link href="http://gregs-blog.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://gregs-blog.com</link>
	<description>A Blog about Graphics Programming, Game Programming, Tips and Tricks</description>
	<lastBuildDate>Mon, 16 Jan 2012 05:05:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on Update: Quake 2 .NET Port with Visual Studio 2008 (v9.0) and Managed C++ by gregd1024</title>
		<link>http://gregs-blog.com/2007/11/25/update-quake-2-net-port-with-visual-studio-2008-v90-and-managed-c/#comment-2456</link>
		<dc:creator><![CDATA[gregd1024]]></dc:creator>
		<pubDate>Mon, 16 Jan 2012 05:05:57 +0000</pubDate>
		<guid isPermaLink="false">http://gregdolleysblog.wordpress.com/2007/11/25/update-quake-2-net-port-with-visual-studio-2008-v90-and-managed-c/#comment-2456</guid>
		<description><![CDATA[Hey Nemo, yeah I&#039;m alive! :) Just haven&#039;t had time to fix those links. I got your email, so I&#039;ll send you a zip file of the code.

-Greg Dolley]]></description>
		<content:encoded><![CDATA[<p>Hey Nemo, yeah I&#8217;m alive! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Just haven&#8217;t had time to fix those links. I got your email, so I&#8217;ll send you a zip file of the code.</p>
<p>-Greg Dolley</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Update: Quake 2 .NET Port with Visual Studio 2008 (v9.0) and Managed C++ by Nemo</title>
		<link>http://gregs-blog.com/2007/11/25/update-quake-2-net-port-with-visual-studio-2008-v90-and-managed-c/#comment-2449</link>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
		<pubDate>Sat, 14 Jan 2012 12:35:05 +0000</pubDate>
		<guid isPermaLink="false">http://gregdolleysblog.wordpress.com/2007/11/25/update-quake-2-net-port-with-visual-studio-2008-v90-and-managed-c/#comment-2449</guid>
		<description><![CDATA[Greg are you still alive bud? Can you pls fix the link? Don&#039;t let all that awesome work die!]]></description>
		<content:encoded><![CDATA[<p>Greg are you still alive bud? Can you pls fix the link? Don&#8217;t let all that awesome work die!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Update: Quake 3 Arena .NET Port is Done! by Nemo</title>
		<link>http://gregs-blog.com/2008/01/22/update-quake-3-arena-net-port-is-done/#comment-2446</link>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
		<pubDate>Mon, 02 Jan 2012 10:13:18 +0000</pubDate>
		<guid isPermaLink="false">http://gregdolleysblog.wordpress.com/2008/01/22/update-quake-3-arena-net-port-is-done/#comment-2446</guid>
		<description><![CDATA[Greg can you please reupload this? I&#039;d love to take look :)]]></description>
		<content:encoded><![CDATA[<p>Greg can you please reupload this? I&#8217;d love to take look <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on DirectX 9 C++ Graphics Tutorial 1: Getting Started by YDLU</title>
		<link>http://gregs-blog.com/2008/02/20/directx-9-c-graphics-tutorial-1-getting-started/#comment-2438</link>
		<dc:creator><![CDATA[YDLU]]></dc:creator>
		<pubDate>Mon, 05 Dec 2011 18:29:40 +0000</pubDate>
		<guid isPermaLink="false">http://gregdolleysblog.wordpress.com/2008/02/20/directx-9-c-graphics-tutorial-1-getting-started/#comment-2438</guid>
		<description><![CDATA[source code link looklike broke!]]></description>
		<content:encoded><![CDATA[<p>source code link looklike broke!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Part 1: How to Make Native Calls from Managed Code in C++/CLI by Tomato Blog</title>
		<link>http://gregs-blog.com/2008/01/30/part-1-how-to-make-native-calls-from-managed-code-in-ccli/#comment-2434</link>
		<dc:creator><![CDATA[Tomato Blog]]></dc:creator>
		<pubDate>Fri, 02 Dec 2011 23:18:40 +0000</pubDate>
		<guid isPermaLink="false">http://gregdolleysblog.wordpress.com/2008/01/30/part-1-how-to-make-native-calls-from-managed-code-in-ccli/#comment-2434</guid>
		<description><![CDATA[&lt;strong&gt;Pass C++/CLI delegate as function pointer into native C++ class...&lt;/strong&gt;

To Pass C++/CLI delegate as function pointer into native C++ class, you can make use of this .net method: System::Runtime::InteropServices::Marshal::GetFunctionPointerForDelegate, the key point is: define the delagate (MyDelegate^ m_myDelegate in my ex...]]></description>
		<content:encoded><![CDATA[<p><strong>Pass C++/CLI delegate as function pointer into native C++ class&#8230;</strong></p>
<p>To Pass C++/CLI delegate as function pointer into native C++ class, you can make use of this .net method: System::Runtime::InteropServices::Marshal::GetFunctionPointerForDelegate, the key point is: define the delagate (MyDelegate^ m_myDelegate in my ex&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Managed DirectX C# Graphics Tutorial 1: Getting Started by ashton</title>
		<link>http://gregs-blog.com/2008/02/26/managed-directx-c-graphics-tutorial-1-getting-started/#comment-2432</link>
		<dc:creator><![CDATA[ashton]]></dc:creator>
		<pubDate>Fri, 02 Dec 2011 02:30:45 +0000</pubDate>
		<guid isPermaLink="false">http://gregdolleysblog.wordpress.com/2008/02/26/managed-directx-c-graphics-tutorial-1-getting-started/#comment-2432</guid>
		<description><![CDATA[private Device m_device = null;  //Device says its missing reference :(?]]></description>
		<content:encoded><![CDATA[<p>private Device m_device = null;  //Device says its missing reference <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on &quot;Decimal&quot; .NET Type vs. &quot;Float&quot; and &quot;Double&quot; C/C++ Type by ShariqShariq</title>
		<link>http://gregs-blog.com/2007/12/10/dot-net-decimal-type-vs-float-type/#comment-2426</link>
		<dc:creator><![CDATA[ShariqShariq]]></dc:creator>
		<pubDate>Fri, 25 Nov 2011 15:46:50 +0000</pubDate>
		<guid isPermaLink="false">http://gregdolleysblog.wordpress.com/2007/12/10/test-for-pocketpc/#comment-2426</guid>
		<description><![CDATA[&gt; So if you’re writing a financial application for a bank that has to be 100% accurate and performance is not a consideration, use the Decimal type. 

What does 100% accurate mean? To determine accuracy, you must also determine the precision. For example, if I divide 100 by 3 and state that the answer must be precise to the nearest integer (perhaps because my processor only supports this level of precision) then the answer is 33 and that&#039;s 100% accurate.

However, if I specify my precision to 3dp, then the answer is 33.333 (again, 100% accurate). 

A decimal type in C# has a precision of 28-29 significant figures (http://msdn.microsoft.com/en-us/library/364x0z75.aspx). The &quot;actual&quot; answer for 100/3 is 33 and an infinite number of 3&#039;s after the decimal point. The decimal type will truncate this to 25-26 3&#039;s. That&#039;s not the actual answer, it&#039;s an answer that&#039;s 100% accurate to 25-26 decimal places.

So...

Go ahead and use doubles (ie floating point numbers) and convert to decimal at the end. Just don&#039;t try comparing variables of type double with each other or you&#039;ll enter a world of pain.]]></description>
		<content:encoded><![CDATA[<p>&gt; So if you’re writing a financial application for a bank that has to be 100% accurate and performance is not a consideration, use the Decimal type. </p>
<p>What does 100% accurate mean? To determine accuracy, you must also determine the precision. For example, if I divide 100 by 3 and state that the answer must be precise to the nearest integer (perhaps because my processor only supports this level of precision) then the answer is 33 and that&#8217;s 100% accurate.</p>
<p>However, if I specify my precision to 3dp, then the answer is 33.333 (again, 100% accurate). </p>
<p>A decimal type in C# has a precision of 28-29 significant figures (<a href="http://msdn.microsoft.com/en-us/library/364x0z75.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/364x0z75.aspx</a>). The &#8220;actual&#8221; answer for 100/3 is 33 and an infinite number of 3&#8242;s after the decimal point. The decimal type will truncate this to 25-26 3&#8242;s. That&#8217;s not the actual answer, it&#8217;s an answer that&#8217;s 100% accurate to 25-26 decimal places.</p>
<p>So&#8230;</p>
<p>Go ahead and use doubles (ie floating point numbers) and convert to decimal at the end. Just don&#8217;t try comparing variables of type double with each other or you&#8217;ll enter a world of pain.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Charge Any USB Device with AA Batteries &#8211; Make Your Own Battery Pack!!! by Bob Fairlane</title>
		<link>http://gregs-blog.com/2007/12/23/how-to-charge-any-usb-device-with-aa-batteries-make-your-own-battery-pack/#comment-2409</link>
		<dc:creator><![CDATA[Bob Fairlane]]></dc:creator>
		<pubDate>Sat, 12 Nov 2011 06:39:57 +0000</pubDate>
		<guid isPermaLink="false">http://gregdolleysblog.wordpress.com/2007/12/23/how-to-charge-any-usb-device-with-aa-batteries-make-your-own-battery-pack/#comment-2409</guid>
		<description><![CDATA[I need to keep a cell phone charged and close in my house because I am a parent. I have some 12v 7AH SLA batteries I got cheap at a refurbished auto battery supply ($5 each) and simply put a 12v plug with slide connectors on one. I use the phone charger for a car. If the power goes out due to a storm or utilities services, I can keep a charged phone within range to hear it ring and bring it to any room.]]></description>
		<content:encoded><![CDATA[<p>I need to keep a cell phone charged and close in my house because I am a parent. I have some 12v 7AH SLA batteries I got cheap at a refurbished auto battery supply ($5 each) and simply put a 12v plug with slide connectors on one. I use the phone charger for a car. If the power goes out due to a storm or utilities services, I can keep a charged phone within range to hear it ring and bring it to any room.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Update: Quake 3 Arena .NET Port is Done! by Rolf</title>
		<link>http://gregs-blog.com/2008/01/22/update-quake-3-arena-net-port-is-done/#comment-2368</link>
		<dc:creator><![CDATA[Rolf]]></dc:creator>
		<pubDate>Fri, 07 Oct 2011 12:42:50 +0000</pubDate>
		<guid isPermaLink="false">http://gregdolleysblog.wordpress.com/2008/01/22/update-quake-3-arena-net-port-is-done/#comment-2368</guid>
		<description><![CDATA[This looks really cool, but... the download link of the source code is down. :(]]></description>
		<content:encoded><![CDATA[<p>This looks really cool, but&#8230; the download link of the source code is down. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Find Which OpenGL Version You&#8217;re Running by Cowster</title>
		<link>http://gregs-blog.com/2007/12/16/how-to-find-which-opengl-version-youre-running/#comment-2354</link>
		<dc:creator><![CDATA[Cowster]]></dc:creator>
		<pubDate>Mon, 26 Sep 2011 14:56:24 +0000</pubDate>
		<guid isPermaLink="false">http://gregdolleysblog.wordpress.com/2007/12/16/how-to-find-which-opengl-version-youre-running/#comment-2354</guid>
		<description><![CDATA[Oops. Turns out I was using the wrong driver download 8-/

So forget my previous question!]]></description>
		<content:encoded><![CDATA[<p>Oops. Turns out I was using the wrong driver download 8-/</p>
<p>So forget my previous question!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

