<?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>My Learnings - Markish Personal Blog &#187; Tweaks</title>
	<atom:link href="http://markish.in/tag/tweaks/feed/" rel="self" type="application/rss+xml" />
	<link>http://markish.in</link>
	<description>It&#039;s my Blog....!</description>
	<lastBuildDate>Thu, 10 Mar 2011 08:41:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Tweaking Win32 Applications…. :)</title>
		<link>http://markish.in/2008/06/tweaking-win32-applications%e2%80%a6/</link>
		<comments>http://markish.in/2008/06/tweaking-win32-applications%e2%80%a6/#comments</comments>
		<pubDate>Thu, 12 Jun 2008 10:53:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Hack EXE]]></category>
		<category><![CDATA[Markish]]></category>
		<category><![CDATA[Resource Hacker]]></category>
		<category><![CDATA[Tweaks]]></category>

		<guid isPermaLink="false">http://markishonline.com/2008/06/12/tweaking-win32-applications%e2%80%a6/</guid>
		<description><![CDATA[<p>    I came across a utility called &#8216;Resource Hacker&#8217;. It&#8217;s not that bad as it name sounds.. It&#8217;s a very powerful and very small in size (some 600 kb) utility that will allow you to access the resources associated with any win32 Executables or dlls. So what..? Most of the Win32 Application uses the resource [...]]]></description>
			<content:encoded><![CDATA[<p>    I came across a utility called &#8216;<strong>Resource Hacker&#8217;</strong>. It&#8217;s not that bad as it name sounds.. It&#8217;s a very powerful and very small in size (some 600 kb) utility that will allow you to access the resources associated with any win32 Executables or dlls. So what..? Most of the Win32 Application uses the resource files for the GUI part. Once we have access to them, we can play around with it even when we don&#8217;t have the source code of it.. <img src='http://markish.in/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I forgot to mention, the utility is a freeware, you can download it from <a href="http://www.angusj.com/resourcehacker/"><em>http://www.angusj.com/resourcehacker/</em></a>
	</p>
<p><span id="more-40"></span></p>
<p style="text-align: center"><img src="http://markish.in/wp-content/uploads/2008/06/061208-1053-tweakingwin1.gif" alt=""/>
	</p>
<p>For an example, I&#8217;d play around the &#8216;Calculator&#8217; Application that is available with Windows. It&#8217;s the &#8216;\Windows\System32\calc.exe&#8217;. Please before proceeding further, take a copy of the calc.exe to some safe location, in case we may need it in future&#8230;if and when we mess it up… Now from the Resource Hacker, Open the calc.exe.(Menu File<span style="font-family:Wingdings">à</span>open). It looks like the above picture. If you notice, The resource may be of Icon, Menu, Dialog boxes, String tables, Shortcuts… These resources are available as the GUI for the end-user. Now I&#8217;ll just try to change the caption of the Calculator dialogue box.
</p>
<p>Expand the &#8216;Dialog&#8217; in the tree show in the left panel, you will see all the dialogue boxes available in the application. In this case there are 4 dialogue boxes available. Now We have to find the appropriate dialogue box to change. Since we don&#8217;t have the source code, it&#8217;s a pure guess. Better open the four nodes.
</p>
<p style="text-align: center"><img src="http://markish.in/wp-content/uploads/2008/06/061208-1053-tweakingwin2.gif" alt=""/>
	</p>
<p>Once we find the Dialogue box, Just edit the properties available if you know what it means…Here &#8216;Caption&#8217; is a straight forward thing. Just edit it to the way you want. Once you edit the sheet, the &#8216;Compile Script&#8217; becomes enabled. After editing, just click the &#8216;Compile Script&#8217; button.
</p>
<p style="text-align: center"><img src="http://markish.in/wp-content/uploads/2008/06/061208-1053-tweakingwin3.gif" alt=""/>
	</p>
<p>Repeat the above step for the dialogue &#8217;102&#8242; shown in the tree, as the calculator application has two main dialogue boxes, one for standard mode and another for scientific mode. Now you have done your part. Save this application with a new name. Select File<span style="font-family:Wingdings">à</span>Save as<span style="font-family:Wingdings">à</span> and give a new name (calc_new.exe in my case). Now your application is ready. Just close the Resource hacker. Run the new application from the &#8220;Windows Run&#8221; dialogue box.
</p>
<p style="text-align: center"><img src="http://markish.in/wp-content/uploads/2008/06/061208-1053-tweakingwin4.gif" alt=""/>
	</p>
<p>Check your new calculator. You can notice the Caption as &#8220;your new caption&#8221;
</p>
<p style="text-align: center"><img src="http://markish.in/wp-content/uploads/2008/06/061208-1053-tweakingwin5.gif" alt=""/>
	</p>
<p>Similarly, you can play around with the tool for any application you want. In my next post, I would explain one more interesting tweak with this utility. But please remember before playing around with any application, make a backup of that.</p>
]]></content:encoded>
			<wfw:commentRss>http://markish.in/2008/06/tweaking-win32-applications%e2%80%a6/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

