<?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 on: DirectX 9 C++ Graphics Tutorial 1: Getting Started</title>
	<atom:link href="http://gregs-blog.com/2008/02/20/directx-9-c-graphics-tutorial-1-getting-started/feed/" rel="self" type="application/rss+xml" />
	<link>http://gregs-blog.com/2008/02/20/directx-9-c-graphics-tutorial-1-getting-started/</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>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>By: tutoriale cs</title>
		<link>http://gregs-blog.com/2008/02/20/directx-9-c-graphics-tutorial-1-getting-started/#comment-2312</link>
		<dc:creator><![CDATA[tutoriale cs]]></dc:creator>
		<pubDate>Sat, 13 Aug 2011 22:21:07 +0000</pubDate>
		<guid isPermaLink="false">http://gregdolleysblog.wordpress.com/2008/02/20/directx-9-c-graphics-tutorial-1-getting-started/#comment-2312</guid>
		<description><![CDATA[&lt;strong&gt;pluginuri CS...&lt;/strong&gt;

DirectX 9 C++ Graphics Tutorial 1: Getting Started &#171; Greg Dolley&#8217;s Weblog...]]></description>
		<content:encoded><![CDATA[<p><strong>pluginuri CS&#8230;</strong></p>
<p>DirectX 9 C++ Graphics Tutorial 1: Getting Started &laquo; Greg Dolley&#8217;s Weblog&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Etni</title>
		<link>http://gregs-blog.com/2008/02/20/directx-9-c-graphics-tutorial-1-getting-started/#comment-2022</link>
		<dc:creator><![CDATA[Etni]]></dc:creator>
		<pubDate>Tue, 26 Oct 2010 11:28:50 +0000</pubDate>
		<guid isPermaLink="false">http://gregdolleysblog.wordpress.com/2008/02/20/directx-9-c-graphics-tutorial-1-getting-started/#comment-2022</guid>
		<description><![CDATA[A blue window is born! :p

I like to get to the drawing and coding without having to first understand everything about the mechanics of windows, so this tutorial was very helpful. Much appreciated!]]></description>
		<content:encoded><![CDATA[<p>A blue window is born! :p</p>
<p>I like to get to the drawing and coding without having to first understand everything about the mechanics of windows, so this tutorial was very helpful. Much appreciated!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sharavsambuu</title>
		<link>http://gregs-blog.com/2008/02/20/directx-9-c-graphics-tutorial-1-getting-started/#comment-1877</link>
		<dc:creator><![CDATA[sharavsambuu]]></dc:creator>
		<pubDate>Sat, 10 Jul 2010 10:53:52 +0000</pubDate>
		<guid isPermaLink="false">http://gregdolleysblog.wordpress.com/2008/02/20/directx-9-c-graphics-tutorial-1-getting-started/#comment-1877</guid>
		<description><![CDATA[Thank you very much! It works]]></description>
		<content:encoded><![CDATA[<p>Thank you very much! It works</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://gregs-blog.com/2008/02/20/directx-9-c-graphics-tutorial-1-getting-started/#comment-1849</link>
		<dc:creator><![CDATA[Jason]]></dc:creator>
		<pubDate>Mon, 07 Jun 2010 02:22:35 +0000</pubDate>
		<guid isPermaLink="false">http://gregdolleysblog.wordpress.com/2008/02/20/directx-9-c-graphics-tutorial-1-getting-started/#comment-1849</guid>
		<description><![CDATA[OK i changed some code, got the errors: error C2664: ‘CreateWindowExW’ : cannot convert parameter 2 from ‘const char [20]‘ to ‘LPCWSTR’	d:\cppfiles\try1\try1\winmain.cpp	(line:18),
turned off unicode and know the project compiles and then crashes on start up, with the error message &quot;main.cpp has encountered an error and needs to close&quot;
Help?]]></description>
		<content:encoded><![CDATA[<p>OK i changed some code, got the errors: error C2664: ‘CreateWindowExW’ : cannot convert parameter 2 from ‘const char [20]‘ to ‘LPCWSTR’	d:\cppfiles\try1\try1\winmain.cpp	(line:18),<br />
turned off unicode and know the project compiles and then crashes on start up, with the error message &#8220;main.cpp has encountered an error and needs to close&#8221;<br />
Help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://gregs-blog.com/2008/02/20/directx-9-c-graphics-tutorial-1-getting-started/#comment-1841</link>
		<dc:creator><![CDATA[Jason]]></dc:creator>
		<pubDate>Thu, 03 Jun 2010 07:38:53 +0000</pubDate>
		<guid isPermaLink="false">http://gregdolleysblog.wordpress.com/2008/02/20/directx-9-c-graphics-tutorial-1-getting-started/#comment-1841</guid>
		<description><![CDATA[Hello, when I tried to compile the code I received the errors:

1&gt;c:\documents and settings\home\my documents\visual studio 2010\projects\win\win\win.cpp(26): error C2065: &#039;“DX9_TUTORIAL1_CLASS”&#039; : undeclared identifier
1&gt;c:\documents and settings\home\my documents\visual studio 2010\projects\win\win\win.cpp(35): error C2065: &#039;“DX9_TUTORIAL1_CLASS”&#039; : undeclared identifier
1&gt;c:\documents and settings\home\my documents\visual studio 2010\projects\win\win\win.cpp(35): error C2065: &#039;“DirectX&#039; : undeclared identifier
1&gt;c:\documents and settings\home\my documents\visual studio 2010\projects\win\win\win.cpp(35): error C2143: syntax error : missing &#039;)&#039; before &#039;constant&#039;
1&gt;c:\documents and settings\home\my documents\visual studio 2010\projects\win\win\win.cpp(35): error C2059: syntax error : &#039;)&#039;
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I looked at one of the earlier posts which mentions the error “DX9_TUTORIAL1_CLASS”&#039; : undeclared identifier and the &quot;directx&quot; error but changing the code didn&#039;t help. What&#039;s wrong?]]></description>
		<content:encoded><![CDATA[<p>Hello, when I tried to compile the code I received the errors:</p>
<p>1&gt;c:\documents and settings\home\my documents\visual studio 2010\projects\win\win\win.cpp(26): error C2065: &#8216;“DX9_TUTORIAL1_CLASS”&#8217; : undeclared identifier<br />
1&gt;c:\documents and settings\home\my documents\visual studio 2010\projects\win\win\win.cpp(35): error C2065: &#8216;“DX9_TUTORIAL1_CLASS”&#8217; : undeclared identifier<br />
1&gt;c:\documents and settings\home\my documents\visual studio 2010\projects\win\win\win.cpp(35): error C2065: &#8216;“DirectX&#8217; : undeclared identifier<br />
1&gt;c:\documents and settings\home\my documents\visual studio 2010\projects\win\win\win.cpp(35): error C2143: syntax error : missing &#8216;)&#8217; before &#8216;constant&#8217;<br />
1&gt;c:\documents and settings\home\my documents\visual studio 2010\projects\win\win\win.cpp(35): error C2059: syntax error : &#8216;)&#8217;<br />
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========<br />
I looked at one of the earlier posts which mentions the error “DX9_TUTORIAL1_CLASS”&#8217; : undeclared identifier and the &#8220;directx&#8221; error but changing the code didn&#8217;t help. What&#8217;s wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://gregs-blog.com/2008/02/20/directx-9-c-graphics-tutorial-1-getting-started/#comment-1829</link>
		<dc:creator><![CDATA[Simon]]></dc:creator>
		<pubDate>Fri, 21 May 2010 20:35:06 +0000</pubDate>
		<guid isPermaLink="false">http://gregdolleysblog.wordpress.com/2008/02/20/directx-9-c-graphics-tutorial-1-getting-started/#comment-1829</guid>
		<description><![CDATA[i turned off unicode and it worked]]></description>
		<content:encoded><![CDATA[<p>i turned off unicode and it worked</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://gregs-blog.com/2008/02/20/directx-9-c-graphics-tutorial-1-getting-started/#comment-1828</link>
		<dc:creator><![CDATA[Simon]]></dc:creator>
		<pubDate>Fri, 21 May 2010 20:28:03 +0000</pubDate>
		<guid isPermaLink="false">http://gregdolleysblog.wordpress.com/2008/02/20/directx-9-c-graphics-tutorial-1-getting-started/#comment-1828</guid>
		<description><![CDATA[Hi Greg, another problem:)

I got these errors :
 &#039;initializing&#039; : cannot convert from &#039;const char [20]&#039; to &#039;LPCWSTR&#039;
  Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
 &#039;CreateWindowExW&#039; : cannot convert parameter 2 from &#039;const char [20]&#039; to &#039;LPCWSTR&#039;
  Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

and also after debuging prompts an error wich says: &quot;unable to start program .../main.exe the system cannot find the path specified&quot;

I did exactly as your article says, I have downloaded Directx SDK and I use Visual Studio 2008 Express.]]></description>
		<content:encoded><![CDATA[<p>Hi Greg, another problem:)</p>
<p>I got these errors :<br />
 &#8216;initializing&#8217; : cannot convert from &#8216;const char [20]&#8216; to &#8216;LPCWSTR&#8217;<br />
  Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast<br />
 &#8216;CreateWindowExW&#8217; : cannot convert parameter 2 from &#8216;const char [20]&#8216; to &#8216;LPCWSTR&#8217;<br />
  Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast</p>
<p>and also after debuging prompts an error wich says: &#8220;unable to start program &#8230;/main.exe the system cannot find the path specified&#8221;</p>
<p>I did exactly as your article says, I have downloaded Directx SDK and I use Visual Studio 2008 Express.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Otreum</title>
		<link>http://gregs-blog.com/2008/02/20/directx-9-c-graphics-tutorial-1-getting-started/#comment-1782</link>
		<dc:creator><![CDATA[Otreum]]></dc:creator>
		<pubDate>Mon, 12 Apr 2010 06:06:43 +0000</pubDate>
		<guid isPermaLink="false">http://gregdolleysblog.wordpress.com/2008/02/20/directx-9-c-graphics-tutorial-1-getting-started/#comment-1782</guid>
		<description><![CDATA[Ah, I got it solved, I deleted:

g_pDirect3D_Device-&gt;Release();
g_pDirect3D-&gt;Release();

I don&#039;t think that is the be all to end all solution, I think maybe I need to edit those lines as opposed to deleting them, but right now it seems as though those lines are doing more harm than good, especially since the program now works.]]></description>
		<content:encoded><![CDATA[<p>Ah, I got it solved, I deleted:</p>
<p>g_pDirect3D_Device-&gt;Release();<br />
g_pDirect3D-&gt;Release();</p>
<p>I don&#8217;t think that is the be all to end all solution, I think maybe I need to edit those lines as opposed to deleting them, but right now it seems as though those lines are doing more harm than good, especially since the program now works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Otreum</title>
		<link>http://gregs-blog.com/2008/02/20/directx-9-c-graphics-tutorial-1-getting-started/#comment-1781</link>
		<dc:creator><![CDATA[Otreum]]></dc:creator>
		<pubDate>Mon, 12 Apr 2010 00:14:12 +0000</pubDate>
		<guid isPermaLink="false">http://gregdolleysblog.wordpress.com/2008/02/20/directx-9-c-graphics-tutorial-1-getting-started/#comment-1781</guid>
		<description><![CDATA[Hi Greg, nice tutorial you have here, I notice just about every other tutorial skips over the important steps...the main one being how to set up directX with Visual Studio.

But thanks aside, I got through the tutorial, figured out that the stuff in quotation marks wasn&#039;t showing up red like it should, and noticed the quotation marks seemed to be in italics, so I changed that, and the program COMPILES ok....
HOWEVER, when I actually try to run it, the program crashes.
When I debug the program, I get to:
g_pDirect3D = Direct3DCreate9(D3D_SDK_VERSION);

Which skips the yellow arrow down to:
g_pDirect3D_Device-&gt;Release();

And shows an unhandled exception error saying:
Unhandled exception at 0x0122178a in compiler_setup.exe: 0xC0000005: Access violation reading location 0x00000000.

I figured it had something to do with the argument passed to Direct3Dcreate9, but i&#039;m really not too sure whats going on.

Thanks in advance.]]></description>
		<content:encoded><![CDATA[<p>Hi Greg, nice tutorial you have here, I notice just about every other tutorial skips over the important steps&#8230;the main one being how to set up directX with Visual Studio.</p>
<p>But thanks aside, I got through the tutorial, figured out that the stuff in quotation marks wasn&#8217;t showing up red like it should, and noticed the quotation marks seemed to be in italics, so I changed that, and the program COMPILES ok&#8230;.<br />
HOWEVER, when I actually try to run it, the program crashes.<br />
When I debug the program, I get to:<br />
g_pDirect3D = Direct3DCreate9(D3D_SDK_VERSION);</p>
<p>Which skips the yellow arrow down to:<br />
g_pDirect3D_Device-&gt;Release();</p>
<p>And shows an unhandled exception error saying:<br />
Unhandled exception at 0x0122178a in compiler_setup.exe: 0xC0000005: Access violation reading location 0&#215;00000000.</p>
<p>I figured it had something to do with the argument passed to Direct3Dcreate9, but i&#8217;m really not too sure whats going on.</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

