<?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>Leoganda.net &#187; C++</title>
	<atom:link href="http://www.leoganda.net/tag/c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.leoganda.net</link>
	<description></description>
	<lastBuildDate>Fri, 09 Dec 2011 04:12:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>The System Cannot Execute The Specified Program C++</title>
		<link>http://www.leoganda.net/the-system-cannot-execute-the-specified-program-c/</link>
		<comments>http://www.leoganda.net/the-system-cannot-execute-the-specified-program-c/#comments</comments>
		<pubDate>Tue, 25 May 2010 16:31:38 +0000</pubDate>
		<dc:creator>leoganda</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Error]]></category>

		<guid isPermaLink="false">http://www.leoganda.net/?p=76</guid>
		<description><![CDATA[Today I made a simple console application using Visual C++ 2008 and it was runs well on my development machine. But the problem occurred when I run the application on another machine, the error says &#8220;The system cannot execute the specified program&#8220;. I was guessing the problem occurred because of missing library or something, after [...]]]></description>
			<content:encoded><![CDATA[<p>Today I made a simple console application using Visual C++ 2008 and it was runs well on my development machine. But the problem occurred when I run the application on another machine, the error says &#8220;<strong>The system cannot execute the specified program</strong>&#8220;. I was guessing the problem occurred because of missing library or something, after short analysis both machine have the correct and the same library. So what&#8217;s going on??</p>
<p>I googled for this error and found <a href="http://blogs.msdn.com/b/nikolad/archive/2005/06/08/427101.aspx" target="_blank">this article</a>, it explains how this problem occurred on compiled C++ application. There&#8217;s two type of build on VC++ ( Debug and Release), my application was built in debug mode and <strong>we can&#8217;t re-distribute the application on debug mode</strong>. The built program in debug mode only runs on development machine, so in order to distribute my app I should build my application in &#8216;Release&#8217; mode. Time to switch from &#8216;Debug&#8217; to &#8216;Release&#8217; mode,</p>
<p>Open your <em>Visual Studio-&gt;(Open Project)-&gt;Project-&gt;(project name) properties</em></p>
<p><em>select the Build Tab, in configuration option choose &#8220;Release&#8221;.</em></p>
<p>Rebuild your project, you will find &#8220;Release&#8221; folder, your released application is in there.</p>
<h4>What people search:</h4><ul><li><a href="http://www.leoganda.net/the-system-cannot-execute-the-specified-program-c/" title="xampp The system cannot execute the specified program">xampp The system cannot execute the specified program</a></li><li><a href="http://www.leoganda.net/the-system-cannot-execute-the-specified-program-c/" title="The system cannot execute the specified program">The system cannot execute the specified program</a></li><li><a href="http://www.leoganda.net/the-system-cannot-execute-the-specified-program-c/" title="The system cannot execute the specified program xampp">The system cannot execute the specified program xampp</a></li><li><a href="http://www.leoganda.net/the-system-cannot-execute-the-specified-program-c/" title="system cannot execute the specified program">system cannot execute the specified program</a></li><li><a href="http://www.leoganda.net/the-system-cannot-execute-the-specified-program-c/" title="xampp system cannot execute the specified program">xampp system cannot execute the specified program</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.leoganda.net/the-system-cannot-execute-the-specified-program-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

