<?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>Visual C++ Tips &#187; Project settings</title>
	<atom:link href="http://weseetips.com/category/project-settings/feed/" rel="self" type="application/rss+xml" />
	<link>http://weseetips.com</link>
	<description>Gold mine of Visual C++ tricks!</description>
	<lastBuildDate>Thu, 11 Mar 2010 09:09:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>How to find the Relative Path to other Common Folders &#8211; More Easily?</title>
		<link>http://weseetips.com/2008/12/16/how-to-find-the-relative-path-to-other-common-folders-more-easily/</link>
		<comments>http://weseetips.com/2008/12/16/how-to-find-the-relative-path-to-other-common-folders-more-easily/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 21:27:54 +0000</pubDate>
		<dc:creator>Jijo Raj</dc:creator>
				<category><![CDATA[Codeproject]]></category>
		<category><![CDATA[Project settings]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[absolute path]]></category>
		<category><![CDATA[calculate relative path]]></category>
		<category><![CDATA[how to generate relative path]]></category>
		<category><![CDATA[relative path]]></category>
		<category><![CDATA[relative path to common folders]]></category>
		<category><![CDATA[relative path to folder]]></category>
		<category><![CDATA[windows relative path]]></category>

		<guid isPermaLink="false">http://weseetips.com/?p=723</guid>
		<description><![CDATA[Well you know what a relative path is. The &#8220;.\..\..\Folder&#8221; thing. Usually in project settings, while referring the path of other common include folders, relative path is being used. Because, it won&#8217;t break the project settings even though the entire development folder structure is moved from one location to another. To be more specific, If [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align:left;"><img class="alignnone size-medium wp-image-11" title="Icon Description" src="http://weseetips.files.wordpress.com/2008/03/icon_description.jpg?w=166" alt="" width="166" height="32" /><br />
Well you know what a relative path is. The &#8220;.\..\..\Folder&#8221; thing. <span style="color:#0000ff;">Usually in project settings, while referring the path of other common include folders, relative path is being used.</span> Because, it won&#8217;t break the project settings even though the entire development folder structure is moved from one location to another.</p>
<p style="text-align:left;">To be more specific, If you have specified absolute path like &#8211; &#8220;c:\Source\BlahBlahProject\Libs&#8221; in the project settings, if you move Source folder to D:\ your project won&#8217;t compile. Relative paths are good, but its a bit difficult to calculate it. <span style="color:#0000ff;">I saw people calculating it with their memory by touching the folder structure in monitor. <img src='http://weseetips.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </span> Some advanced guys uses the windows explorer&#8217;s auto complete feature to get the relative path. But <span style="color:#0000ff;">is there any other easy method to get it?</span></p>
<p><img class="alignnone size-full wp-image-725" title="relativepath" src="http://siteground205.com/~weseetip/wp-content/uploads/2008/12/relativepath.jpg" alt="relativepath" width="510" height="345" /></p>
<p><img class="alignnone size-medium wp-image-12" title="Icon How Can I Do It?" src="http://weseetips.files.wordpress.com/2008/03/icon_howcanidoit.jpg?w=220" alt="" width="220" height="32" /><br />
Well, <span style="color:#0000ff;">You can use Visual Studio for it.</span> Just follow the steps. Assume you want to get the relative path from your project folder to the common lib folder &#8211; &#8220;c:\Source\BlahBlahProject\Libs&#8221;.</p>
<p>1) Load you project in visual studio.<br />
2) Create a file <span style="color:#0000ff;">hello.cpp</span> in folder &#8211; <span style="color:#0000ff;">&#8220;c:\Source\BlahBlahProject\Libs&#8221;</span>.<br />
3) Add the file to your project by using menu &#8211; <span style="color:#0000ff;"><strong>Project &gt; Add To Project &gt; Files</strong></span>.<br />
4) Right click the file and take <span style="color:#0000ff;"><strong>Properties</strong></span>.<br />
<img class="alignnone size-full wp-image-726" title="relativepath1" src="http://siteground205.com/~weseetip/wp-content/uploads/2008/12/relativepath1.jpg" alt="relativepath1" width="510" height="389" /></p>
<p>5) In the properties, you can get the relative path from <strong><span style="color:#0000ff;">&#8220;Persist as&#8221; editbox</span></strong>.<br />
<img class="alignnone size-full wp-image-727" title="relativepath2" src="http://siteground205.com/~weseetip/wp-content/uploads/2008/12/relativepath2.jpg" alt="relativepath2" width="510" height="387" /></p>
<p><img class="alignnone size-medium wp-image-18" title="Icon Note" src="http://weseetips.files.wordpress.com/2008/03/icon_note.jpg?w=94" alt="" width="94" height="32" /><br />
The only limitation is our imagination. Isn&#8217;t it? <img src='http://weseetips.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><img class="alignnone size-medium wp-image-53" title="intermediateseries" src="http://weseetips.files.wordpress.com/2008/03/intermediateseries.jpg?w=248" alt="" width="248" height="32" /><br />
Targeted Audience &#8211; Intermediate.</p>
]]></content:encoded>
			<wfw:commentRss>http://weseetips.com/2008/12/16/how-to-find-the-relative-path-to-other-common-folders-more-easily/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Set one Dll as Delay Loading Dll?</title>
		<link>http://weseetips.com/2008/12/02/how-to-set-one-dll-as-delay-loading-dll/</link>
		<comments>http://weseetips.com/2008/12/02/how-to-set-one-dll-as-delay-loading-dll/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 21:20:54 +0000</pubDate>
		<dc:creator>Jijo Raj</dc:creator>
				<category><![CDATA[Codeproject]]></category>
		<category><![CDATA[Project settings]]></category>
		<category><![CDATA[/delayload]]></category>
		<category><![CDATA[delay load]]></category>
		<category><![CDATA[delay loading dll]]></category>
		<category><![CDATA[how to set dll as delay loading dll]]></category>
		<category><![CDATA[windows loader]]></category>
		<category><![CDATA[windows loader delay loading dll]]></category>

		<guid isPermaLink="false">http://weseetips.wordpress.com/?p=664</guid>
		<description><![CDATA[Nobody like delays. All of us want everything to be on time. May the the most hated characteristic might be the delaying nature. Well, while everyone hates delays, there is one special guy who loves delays &#8211; the Windows loader. Well, as you know the purpose of the windows loader is to load the an [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-11" title="Icon Description" src="http://weseetips.files.wordpress.com/2008/03/icon_description.jpg?w=166" alt="" width="166" height="32" /><br />
<span style="color:#0000ff;">Nobody like delays.</span> All of us want everything to be on time. May the the most hated characteristic might be the delaying nature. <span style="color:#0000ff;">Well, while everyone hates delays, there is one special guy who loves delays &#8211; the Windows loader.</span> <img src='http://weseetips.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><img class="alignnone size-full wp-image-669" title="delayloadingdll" src="http://siteground205.com/~weseetip/wp-content/uploads/2008/12/delayloadingdll.jpg" alt="delayloadingdll" width="372" height="525" /></p>
<p>Well, as you know the purpose of the <span style="color:#0000ff;">windows loader</span> is to <span style="color:#0000ff;">load the an application file disk to memory and start the execution.</span> While loading an executable, <span style="color:#0000ff;">loader have to make sure that all the <span style="color:#0000ff;">dlls </span></span><span style="color:#0000ff;">required by application are also loaded to memory.</span> But assume you have 50 dlls. Eventhough those dlls have to do nothing in application startup, its loader&#8217;s duty to load it. And <span style="color:#0000ff;">when the dll count goes on, loader have to work more and there by your application needs more time to start.</span> Well, how to make the startup more faster in this situation?</p>
<p><img class="alignnone size-medium wp-image-12" title="Icon How Can I Do It?" src="http://weseetips.files.wordpress.com/2008/03/icon_howcanidoit.jpg?w=220" alt="" width="220" height="32" /><br />
<span style="color:#0000ff;">You could mark your dlls as delay loading dlls.</span> If you have enabled delay loading dll option for the dll, <span style="color:#0000ff;">then loader loads the dll only when application make the first function call to that dll.</span> Hence, during application startup, <span style="color:#0000ff;">the loader&#8217;s &#8220;load&#8221; can be reduced and it will improve startup time.</span> In other words, you can call it as <strong><span style="color:#0000ff;">&#8220;Load on demand&#8221;.</span></strong></p>
<p>Well for enabling delay loading for a dll, you have to specify the linker option <span style="color:#0000ff;">/DELAYLOAD:dllname</span> to linker settings. For instance, see the screenshot for how to enable delay loading for <span style="color:#0000ff;">mydll.dll.</span></p>
<p><img class="alignnone size-full wp-image-670" title="delayloadingdll2" src="http://siteground205.com/~weseetip/wp-content/uploads/2008/12/delayloadingdll2.jpg" alt="delayloadingdll2" width="510" height="332" /></p>
<p><img class="alignnone size-medium wp-image-18" title="Icon Note" src="http://weseetips.files.wordpress.com/2008/03/icon_note.jpg?w=94" alt="" width="94" height="32" /><br />
Interesting to know that loaders love delays. Isn&#8217;t it? lazy loaders <img src='http://weseetips.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><img class="alignnone size-medium wp-image-53" title="intermediateseries" src="http://weseetips.files.wordpress.com/2008/03/intermediateseries.jpg?w=248" alt="" width="248" height="32" /><br />
Targeted Audience &#8211; Intermediate.</p>
]]></content:encoded>
			<wfw:commentRss>http://weseetips.com/2008/12/02/how-to-set-one-dll-as-delay-loading-dll/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Remove Unreferenced Formal Parameter warning?</title>
		<link>http://weseetips.com/2008/11/26/how-to-remove-unreferenced-formal-parameter-warning/</link>
		<comments>http://weseetips.com/2008/11/26/how-to-remove-unreferenced-formal-parameter-warning/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 19:46:57 +0000</pubDate>
		<dc:creator>Jijo Raj</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Codeproject]]></category>
		<category><![CDATA[Project settings]]></category>
		<category><![CDATA[unreferenced formal parameter]]></category>
		<category><![CDATA[UNREFERENCED_PARAMETER]]></category>
		<category><![CDATA[Warning C4100]]></category>
		<category><![CDATA[Warning C4100 unreferenced formal parameter]]></category>

		<guid isPermaLink="false">http://weseetips.wordpress.com/?p=652</guid>
		<description><![CDATA[Hands on legacy code base is a different kind of game! You have to learn a lot of tricks. During old days, legacy codebases have the compiler default settings. But now, for better error catching, most will switch the warning level to high. Well, did you ever ported your legacy codebase by updating its project [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-11" title="Icon Description" src="http://weseetips.wordpress.com/files/2008/03/icon_description.jpg?w=166" alt="" width="166" height="32" /></p>
<p><span style="color:#0000ff;">Hands on legacy code base is a different kind of game!</span> You have to learn a lot of tricks. During old days, legacy codebases have the compiler default settings. But now, for better error catching, <span style="color:#0000ff;">most will switch  the warning level to high.</span> Well, did you ever ported your legacy codebase by updating its project settings such as by switching the warning level from Level 3 (default) to Level 4, <span style="color:#0000ff;">most probably you&#8217;ll get this &#8211; <strong>&#8220;Warning C4100: &#8216;Param2&#8242; : unreferenced formal parameter&#8221;</strong>.</span></p>
<p>In most of the case, <span style="color:#0000ff;">it might be some unused stack variable</span>. But in some other cases, <span style="color:#0000ff;">it might be the unused function parameters as well</span>. For instance, if base class have some pure virtual function, we have to implement that, even if we don&#8217;t have any specific implementation for it. In that case, the parameters will not be used and can cause the same warning. Well how to <strong>&#8220;kick out&#8221;</strong> those warnings easily?</p>
<p><img class="alignnone size-full wp-image-660" title="unreferrencedvariablewarning" src="http://weseetips.wordpress.com/files/2008/11/unreferrencedvariablewarning.jpg" alt="unreferrencedvariablewarning" width="510" height="408" /></p>
<p><img class="alignnone size-medium wp-image-12" title="Icon How Can I Do It?" src="http://weseetips.wordpress.com/files/2008/03/icon_howcanidoit.jpg?w=220" alt="" width="220" height="32" /><br />
Well, there are two tricks.</p>
<p><span style="text-decoration:underline;"><strong>1) Use the macro &#8211; UNREFERENCED_PARAMETER</strong></span><br />
<span style="color:#0000ff;"> The common trick is to use the macro UNREFERENCED_PARAMETER()</span>. When it expands, <span style="color:#0000ff;">it just assigns the variable to itself. Just like a=a.</span> Which will remove the warning, since the variable is used to assign to itself.</p>
<pre>// The function that derived class was forced to implement,
// since its pure virtual function defined in base.
void CRabbitDialogDlg::Function( bool Param1, bool Param2 )
{
    // Here Param1 and Param2 are not used which will
    // trigger warning. Now they won't.
    UNREFERENCED_PARAMETER( Param1 );
    UNREFERENCED_PARAMETER( Param2 );
}</pre>
<p><span style="text-decoration:underline;"><strong>2) Comment out the variable names.</strong></span><br />
Even though <span style="color:#0000ff;">UNREFERENCED_PARAMETER()</span> serves the need, its <span style="color:#0000ff;">not efficient</span>. isn&#8217;t it? It assigns the variable to itself and thus avoids the warning. Well there is another easy method. <span style="color:#0000ff;">Just comment out the variable name</span>. Check the code snippet below.</p>
<pre>// The function that derived class was forced to implement,
// since its pure virtual function defined in base.
void CRabbitDialogDlg::Function( bool /*Param1*/, bool /*Param2*/ )
{
    // Since the variable name doesn't exist, how compiler can
    // complain that variable is not used. <img src='http://weseetips.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />
}</pre>
<p><img class="alignnone size-medium wp-image-18" title="Icon Note" src="http://weseetips.wordpress.com/files/2008/03/icon_note.jpg?w=94" alt="" width="94" height="32" /><br />
In one of my projects, I was forced write an empty implementation for a pure virtual function in derived class. And my client needs zero compilation warning. At that time I really struggled to remove this warning. <img src='http://weseetips.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  <span style="color:#0000ff;">Now when i shared it with you, it feels good!</span></p>
<p><img class="alignnone size-medium wp-image-51" title="beginnerseries" src="http://weseetips.wordpress.com/files/2008/03/beginnerseries.jpg?w=215" alt="" width="215" height="32" /><br />
Targeted Audiance &#8211; Beginners.</p>
]]></content:encoded>
			<wfw:commentRss>http://weseetips.com/2008/11/26/how-to-remove-unreferenced-formal-parameter-warning/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How to make your debug build &#8211; a slim beauty.</title>
		<link>http://weseetips.com/2008/04/01/how-to-make-your-debug-build-a-slim-beauty/</link>
		<comments>http://weseetips.com/2008/04/01/how-to-make-your-debug-build-a-slim-beauty/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 16:09:29 +0000</pubDate>
		<dc:creator>Jijo Raj</dc:creator>
				<category><![CDATA[Project settings]]></category>
		<category><![CDATA[debug build]]></category>
		<category><![CDATA[Incrimental Linking]]></category>
		<category><![CDATA[Link Incrementally]]></category>
		<category><![CDATA[reduce size]]></category>
		<category><![CDATA[VC++]]></category>
		<category><![CDATA[Visual C++]]></category>

		<guid isPermaLink="false">http://weseetips.wordpress.com/?p=56</guid>
		<description><![CDATA[Usually debug builds are bulky. It will be nice, if we can reduce the size of debug binaries before delivery. If you turn off the &#8220;Incremental Linking&#8221; option, the size of debug build will be reduced dramatically. But beware, it can increase your total build time. 1) Take project settings. 2) Go to Link tab [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://siteground205.com/~weseetip/wp-content/uploads/2008/03/icon_description.jpg" alt="Icon Description" /><br />
Usually debug builds are bulky. It will be nice, if we can reduce the size of debug binaries before delivery.</p>
<p><img src="http://siteground205.com/~weseetip/wp-content/uploads/2008/03/icon_howcanidoit.jpg" alt="Icon How Can I Do It?" /><br />
If you turn off the &#8220;Incremental Linking&#8221; option, the size of debug build will be reduced dramatically. But beware, it can increase your total build time.</p>
<p>1) Take project settings.<br />
2) Go to Link tab<br />
3) Disable &#8220;Link Incrementally&#8221;</p>
<p>Now rebuild and check the size. Wow!!! She became really slim. <img src='http://weseetips.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><img src="http://siteground205.com/~weseetip/wp-content/uploads/2008/03/icon_note.jpg" alt="Icon Note" /><br />
1) You have to change the &#8220;Settings-&gt;C/C++-&gt;Debug Info&#8221; to &#8220;Program Database&#8221;. Or else you&#8217;ll get a warning.<br />
2) Turning off Incremental Linking can increase your build time. So its recommenced only before delivery.</p>
<p><img src="http://siteground205.com/~weseetip/wp-content/uploads/2008/03/beginnerseries.jpg" alt="beginnerseries.jpg" /><br />
Targeted Audience &#8211; Beginners.</p>
]]></content:encoded>
			<wfw:commentRss>http://weseetips.com/2008/04/01/how-to-make-your-debug-build-a-slim-beauty/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to remove unwanted libraries from project settings.</title>
		<link>http://weseetips.com/2008/03/28/how-to-remove-unwanted-libraries-from-project-settings/</link>
		<comments>http://weseetips.com/2008/03/28/how-to-remove-unwanted-libraries-from-project-settings/#comments</comments>
		<pubDate>Fri, 28 Mar 2008 03:51:12 +0000</pubDate>
		<dc:creator>Jijo Raj</dc:creator>
				<category><![CDATA[Codeproject]]></category>
		<category><![CDATA[Project settings]]></category>
		<category><![CDATA[ignore default library]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[LNK4089]]></category>
		<category><![CDATA[VC++]]></category>
		<category><![CDATA[Visual C++]]></category>

		<guid isPermaLink="false">http://weseetips.wordpress.com/?p=39</guid>
		<description><![CDATA[Usually in the project settings, we will provide a list of .lib files that the project needs to compile. For small projects it’s manageable. But for big project which uses a lot of 3ed party frameworks, the .lib list can grow and may contain unwanted libraries which are not used any more. Even though an [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://weseetips.wordpress.com/files/2008/03/icon_description.jpg" alt="Icon Description" /><br />
Usually in the project settings, we will provide a list of .lib files that the project needs to compile. For small projects it’s manageable. But for big project which uses a lot of 3ed party frameworks, the .lib list can grow and may contain unwanted libraries which are not used any more. Even though an extra library in project setting is harmless, it may end up messing up the project setting. Some clients even have strict project setting rule – project settings should not include unused libraries.</p>
<p><img src="http://weseetips.wordpress.com/files/2008/03/icon_howcanidoit.jpg" alt="Icon How Can I Do It?" /><br />
One method is error and trial. Remove each library by hand and compile. If you won’t get any error then you can remove it. Or else you should try Masters Method!</p>
<p>1) Take project settings.<br />
2) Take Link tab.<br />
3) In the “project options” editbox add the switch &#8211; <span style="color:#0000ff;">/verbose</span><br />
4) Rebuild the project<br />
5) Now in the output window you can see a lot of messages other than normal build.<br />
6) Find the pass 2 section in the output messages. It will be almost same as follows<span style="color:#0000ff;"> </span></p>
<pre><span style="color:#000000;">Start Pass2
   StdAfx.obj
   Hello.obj
   kernel32.lib(KERNEL32.dll)
   kernel32.lib(KERNEL32.dll)
   kernel32.lib(KERNEL32.dll)
   ...
   LIBCD.lib(_freebuf.obj)
   LIBCD.lib(close.obj)
   LIBCD.lib(commit.obj)
   LIBCD.lib(fclose.obj)
End Pass2</span></pre>
<p><span style="color:#0000ff;"><span style="color:#0000ff;"><span style="color:#000000;">7) In the pass 2 section, linker will emit all used libraries.<br />
8 ) In the above e.g. the lib files needed</span></span></span> are “kernel32.lib” and “LIBCD.lib”<span style="color:#0000ff;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="font-size:small;"><br />
</span>9) So you’ve found the required library files!<br />
10) Add them to “object/library modules:” editbox of linker settings.<br />
11) Don’t forget to enable “ignore default libraries” options of linker. Because by default the linker links a set of default libs to the project. Those libs are no more needed!<br />
12) Your project is free from unwanted libraries. </span></span></span></p>
<p><span style="color:#0000ff;"><span style="color:#0000ff;"><span style="color:#000000;">Now the choice is yours.Want to go for “Error and trial” or “Masters Method”? <img src='http://weseetips.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </span></span></span></p>
<p><img src="http://weseetips.wordpress.com/files/2008/03/advancedseries.jpg" alt="advancedseries.jpg" /><br />
Targeted Audience &#8211; Advanced.</p>
]]></content:encoded>
			<wfw:commentRss>http://weseetips.com/2008/03/28/how-to-remove-unwanted-libraries-from-project-settings/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>See the assembly code generated for your source.</title>
		<link>http://weseetips.com/2008/03/24/see-the-assembly-code-generated-for-your-source/</link>
		<comments>http://weseetips.com/2008/03/24/see-the-assembly-code-generated-for-your-source/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 17:30:51 +0000</pubDate>
		<dc:creator>Jijo Raj</dc:creator>
				<category><![CDATA[Project settings]]></category>
		<category><![CDATA[asm]]></category>
		<category><![CDATA[assembly]]></category>
		<category><![CDATA[generate asm]]></category>
		<category><![CDATA[VC++]]></category>
		<category><![CDATA[Visual C++]]></category>

		<guid isPermaLink="false">http://weseetips.wordpress.com/?p=22</guid>
		<description><![CDATA[For die-hard debugging purpouse and for learning the internals, usually we need to refer the assembly code generated by the compiler. Add compiler switch /FAs in the project settings. It will generate .ASM files for each of your .cpp files with source code and inline assembly. See the following steps. 1) Take project setting by [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://siteground205.com/~weseetip/wp-content/uploads/2008/03/icon_description.jpg" alt="Icon Description" /><br />
For die-hard debugging purpouse and for learning the internals, usually we need to refer the assembly code generated by the compiler.</p>
<p><img src="http://siteground205.com/~weseetip/wp-content/uploads/2008/03/icon_howcanidoit.jpg" alt="Icon How Can I Do It?" /><a href="http://siteground205.com/~weseetip/wp-content/uploads/2008/03/icon_howcanidoit.jpg" title="Icon How Can I Do It?"><br />
</a>Add compiler switch<font color="#0000ff"> <b>/FAs</b></font><b> </b>in the project settings. It will generate .ASM files for each of your .cpp files with source code and inline assembly. See the following steps.</p>
<p>1)	Take project setting by pressing Alt+F7<br />
2)	Take C/C++ tab<br />
3)	To the Project Options editbox, add <b><font color="#0000ff">/FAs</font></b>.<br />
4)	Recompile the project.<br />
5)	Take the release or debug directory, you can see .asm files. <img src='http://weseetips.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://weseetips.com/2008/03/24/see-the-assembly-code-generated-for-your-source/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

