<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Life and Code &#187; setup</title>
	<atom:link href="http://www.karlockhart.com/wordpress/tag/setup/feed" rel="self" type="application/rss+xml" />
	<link>http://www.karlockhart.com/wordpress</link>
	<description>Pixels bleed just like us...</description>
	<lastBuildDate>Wed, 14 Jul 2010 17:13:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>My Quick Eclipse C++ with X-Plane Plugin SDK Recipe</title>
		<link>http://www.karlockhart.com/wordpress/2009/01/20/my-quick-eclipse-c-with-x-plane-plugin-sdk-recipe</link>
		<comments>http://www.karlockhart.com/wordpress/2009/01/20/my-quick-eclipse-c-with-x-plane-plugin-sdk-recipe#comments</comments>
		<pubDate>Wed, 21 Jan 2009 04:08:27 +0000</pubDate>
		<dc:creator>karl.lockhart</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[quick]]></category>
		<category><![CDATA[sdk]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[x-plane]]></category>

		<guid isPermaLink="false">http://www.karlockhart.com/wordpress/?p=31</guid>
		<description><![CDATA[1. Open Eclipse C++ 2. File-&#62;New-&#62;C++ Project    i. Enter your Project name    ii. Select Shared Library               o Empty Project    iii. Click Finish 3. In the Project Explorer, right click on your project select Properties    i. Select C/C++ General              Paths and Symbols              a. On the Includes tab add the [...]]]></description>
			<content:encoded><![CDATA[<pre>1. Open Eclipse C++
2. File-&gt;New-&gt;C++ Project
   i. Enter your Project name
   ii. Select Shared Library
              o Empty Project
   iii. Click Finish
3. In the Project Explorer, right click on your project select Properties
   i. Select C/C++ General
             Paths and Symbols
             a. On the Includes tab add the paths to the CHeaders\XPLM
                and CHeaders\Widgets folders using the 'Add' button and
                checking 'Add to all configurations' and 'Add to all languages'
             b. On the Symbols tab add the IBM=1 symbol by using the 'Add'
                button and checking 'Add to all configurations' and
                'Add to all languages' setting the Name: IBM and Value: 1
             c. On the Library Paths tab add the path to the Libraries\Win
                folder using the 'Add' button and
                checking 'Add to all configurations' and 'Add to all languages'
   ii. Select C/C++ Build
              Settings
              a. On the Build Artifact tab select Configuration: [All
                 configurations] set the Artifact name to what you
                 would like your plugin's filename to be.
              b. On the Build Artifact tab select Configuration: [All
                 configurations] set the Artifact extension to 'xpl'
              c. On the Build Artifact tab select Configuration: [All
                 configurations] you may delete the output prefix
              d. On the Tool Settings Tab for MinGW C++ Linker
                                               Libraries
                 Add XPLM and XPWidgets to the Libraries(-l) box.
5. Create &lt;YourProjectName&gt;Win.cpp containing:</pre>
<pre>#include &lt;windows.h&gt;
#include &lt;stdio.h&gt;

BOOL APIENTRY DllMain( HANDLE hModule,
                       DWORD  ul_reason_for_call,
                       LPVOID lpReserved
      )
{
    switch (ul_reason_for_call)
 {
  case DLL_PROCESS_ATTACH:
  case DLL_THREAD_ATTACH:
  case DLL_THREAD_DETACH:
  case DLL_PROCESS_DETACH:
   break;
    }
    return TRUE;
}</pre>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fwww.karlockhart.com%2Fwordpress%2F2009%2F01%2F20%2Fmy-quick-eclipse-c-with-x-plane-plugin-sdk-recipe&amp;title=My+Quick+Eclipse+C%2B%2B+with+X-Plane+Plugin+SDK+Recipe" ><img class="lightsocial_img" src="http://www.karlockhart.com/wordpress/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.karlockhart.com%2Fwordpress%2F2009%2F01%2F20%2Fmy-quick-eclipse-c-with-x-plane-plugin-sdk-recipe&amp;title=My+Quick+Eclipse+C%2B%2B+with+X-Plane+Plugin+SDK+Recipe" ><img class="lightsocial_img" src="http://www.karlockhart.com/wordpress/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.karlockhart.com%2Fwordpress%2F2009%2F01%2F20%2Fmy-quick-eclipse-c-with-x-plane-plugin-sdk-recipe&amp;title=My+Quick+Eclipse+C%2B%2B+with+X-Plane+Plugin+SDK+Recipe" ><img class="lightsocial_img" src="http://www.karlockhart.com/wordpress/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.karlockhart.com%2Fwordpress%2F2009%2F01%2F20%2Fmy-quick-eclipse-c-with-x-plane-plugin-sdk-recipe&amp;headline=My+Quick+Eclipse+C%2B%2B+with+X-Plane+Plugin+SDK+Recipe" ><img class="lightsocial_img" src="http://www.karlockhart.com/wordpress/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=My+Quick+Eclipse+C%2B%2B+with+X-Plane+Plugin+SDK+Recipe&amp;url=http%3A%2F%2Fwww.karlockhart.com%2Fwordpress%2F2009%2F01%2F20%2Fmy-quick-eclipse-c-with-x-plane-plugin-sdk-recipe" ><img class="lightsocial_img" src="http://www.karlockhart.com/wordpress/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=My+Quick+Eclipse+C%2B%2B+with+X-Plane+Plugin+SDK+Recipe&amp;u=http%3A%2F%2Fwww.karlockhart.com%2Fwordpress%2F2009%2F01%2F20%2Fmy-quick-eclipse-c-with-x-plane-plugin-sdk-recipe" ><img class="lightsocial_img" src="http://www.karlockhart.com/wordpress/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=My+Quick+Eclipse+C%2B%2B+with+X-Plane+Plugin+SDK+Recipe&amp;url=http%3A%2F%2Fwww.karlockhart.com%2Fwordpress%2F2009%2F01%2F20%2Fmy-quick-eclipse-c-with-x-plane-plugin-sdk-recipe" ><img class="lightsocial_img" src="http://www.karlockhart.com/wordpress/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=My+Quick+Eclipse+C%2B%2B+with+X-Plane+Plugin+SDK+Recipe&amp;url=http%3A%2F%2Fwww.karlockhart.com%2Fwordpress%2F2009%2F01%2F20%2Fmy-quick-eclipse-c-with-x-plane-plugin-sdk-recipe" ><img class="lightsocial_img" src="http://www.karlockhart.com/wordpress/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=My+Quick+Eclipse+C%2B%2B+with+X-Plane+Plugin+SDK+Recipe&amp;url=http%3A%2F%2Fwww.karlockhart.com%2Fwordpress%2F2009%2F01%2F20%2Fmy-quick-eclipse-c-with-x-plane-plugin-sdk-recipe" ><img class="lightsocial_img" src="http://www.karlockhart.com/wordpress/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.karlockhart.com%2Fwordpress%2F2009%2F01%2F20%2Fmy-quick-eclipse-c-with-x-plane-plugin-sdk-recipe&amp;title=My+Quick+Eclipse+C%2B%2B+with+X-Plane+Plugin+SDK+Recipe&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://www.karlockhart.com/wordpress/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.karlockhart.com%2Fwordpress%2F2009%2F01%2F20%2Fmy-quick-eclipse-c-with-x-plane-plugin-sdk-recipe" ><img class="lightsocial_img" src="http://www.karlockhart.com/wordpress/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.karlockhart.com%2Fwordpress%2F2009%2F01%2F20%2Fmy-quick-eclipse-c-with-x-plane-plugin-sdk-recipe" ><img class="lightsocial_img" src="http://www.karlockhart.com/wordpress/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Fwww.karlockhart.com%2Fwordpress%2F2009%2F01%2F20%2Fmy-quick-eclipse-c-with-x-plane-plugin-sdk-recipe" ><img class="lightsocial_img" src="http://www.karlockhart.com/wordpress/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.karlockhart.com/wordpress/2009/01/20/my-quick-eclipse-c-with-x-plane-plugin-sdk-recipe/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
