<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.xna.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>Direct3D 10 </title><link>http://forums.xna.com/forums/29.aspx</link><description>Only questions about the Direct3D 10 API are permitted here.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 0.0)</generator><item><title>Re: Path loading FX in Lib Proj.</title><link>http://forums.xna.com/forums/thread/62589.aspx</link><pubDate>Mon, 19 May 2008 09:55:06 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:62589</guid><dc:creator>gde</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/62589.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=29&amp;PostID=62589</wfw:commentRss><description>Ah, I did mistake in my code, please ignore this :)</description></item><item><title>Path loading FX in Lib Proj.</title><link>http://forums.xna.com/forums/thread/62579.aspx</link><pubDate>Mon, 19 May 2008 07:55:06 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:62579</guid><dc:creator>gde</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/62579.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=29&amp;PostID=62579</wfw:commentRss><description>&lt;P&gt;Where is the path when loading .fx file?&lt;/P&gt;
&lt;P&gt;I have been tried when i was loading .fx file. The code that loading .fx was in main project folder and put the .fx file into main project path,&amp;nbsp;and it success. But now i tried, the code in Lib project and put .fx file in my lib project path. It failed. So where actually?&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;EDIT: I use &lt;FONT size=1&gt;&lt;/P&gt;
&lt;P&gt;D3DX10CreateEffectFromFile(L"File.fx", NULL, NULL,&lt;FONT color=#000000&gt; L&lt;FONT size=1&gt;"fx_4_0"&lt;/FONT&gt;,&lt;/FONT&gt; D3D10_SHADER_ENABLE_STRICTNESS, 0, g_D3DDevice, NULL, NULL, &amp;amp;effectD3D, NULL, NULL);&lt;/P&gt;&lt;/FONT&gt;</description></item></channel></rss>