<?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>Sunny Chow&#039;s Blog &#187; Uncategorized</title>
	<atom:link href="http://www.sunnychow.com/wordpress/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sunnychow.com/wordpress</link>
	<description>My Technical Encounters.</description>
	<lastBuildDate>Sat, 26 Mar 2011 22:13:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Building zlib 1.2.5 on windows</title>
		<link>http://www.sunnychow.com/wordpress/2011/03/building-zlib-1-2-5-on-windows/</link>
		<comments>http://www.sunnychow.com/wordpress/2011/03/building-zlib-1-2-5-on-windows/#comments</comments>
		<pubDate>Sat, 26 Mar 2011 22:09:03 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sunnychow.com/wordpress/?p=209</guid>
		<description><![CDATA[To build zlib on windows I did the following: Opened up a windows cmd prompt and ran vsvars32.bat from C:\Program Files\Microsoft Visual Studio 10.0\Common7\Tools (You may need to change this depending on which version of Visual Studio you may have) Ran nmake -f win32/Makefile.msc. At this point I ran into a LNK2001 error with _inflate_fast [...]]]></description>
			<content:encoded><![CDATA[<p>To build zlib on windows I did the following:</p>
<ol>
<li>Opened up a windows cmd prompt and ran vsvars32.bat from C:\Program Files\Microsoft Visual Studio 10.0\Common7\Tools (You may need to change this depending on which version of Visual Studio you may have)</li>
<li>Ran nmake -f win32/Makefile.msc.   At this point I ran into a LNK2001 error with _inflate_fast being unresolved</li>
<li> Editted Makefile.msc to add the inffast.obj to the OBJS target per the hint given at here <a href="http://www.cppblog.com/fwxjj/archive/2010/09/26/127733.html">Chinese instructions to build zlib on Windows</a></li>
<li>Reran nmake -f win32/Makefile.msc.  This time it worked.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.sunnychow.com/wordpress/2011/03/building-zlib-1-2-5-on-windows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Emachines M5414 CMOS (Bios) Battery Replacement</title>
		<link>http://www.sunnychow.com/wordpress/2010/11/emachines-m5414-cmos-battery-replacement/</link>
		<comments>http://www.sunnychow.com/wordpress/2010/11/emachines-m5414-cmos-battery-replacement/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 07:16:28 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sunnychow.com/wordpress/?p=205</guid>
		<description><![CDATA[I recently had to replace the CMOS battery for an Emachines M5414 for a relative. The battery is in a rather hard to reach area, but instructions given at Emachines M53XX disassembly instructions give a detailed breakdown of how to disassemble the machine. The M53XX has a slightly different layout than the M5414, but the [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had to replace the CMOS battery for an Emachines M5414 for a relative.  The battery is in a rather hard to reach area, but instructions given at <a href="http://dexplor.com/phpBB2/viewtopic.php?t=691">Emachines M53XX disassembly instructions</a> give a detailed breakdown of how to disassemble the machine.  The M53XX has a slightly different layout than the M5414, but the instructions are similar enough that I was able to follow them 90% of the way.  Two things of note though &#8211; when removing the hotkeys panel, a spudger comes in quite handy in unlatching the panel.  Credit cards cut into thin strips make great spudgers.  In addition, be very careful when removing the trackpad cable from the motherboard, the latches are very delicate and hard to reach.  A slight push into the side is all that is needed to lift the plastic piece up (don&#8217;t try to completely remove it) at which point, the cable should come up easily.</p>
<p>The CMOS battery used in M5414 is indeed a Maxell CR1220 battery, and it&#8217;s a simple replacement once the entire top assembly of the laptop is removed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunnychow.com/wordpress/2010/11/emachines-m5414-cmos-battery-replacement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Studio Build Enviroment Variables (aka Property Sheet User Macro)</title>
		<link>http://www.sunnychow.com/wordpress/2010/07/visual-studio-build-enviroment-variables-aka-property-sheet-user-macro/</link>
		<comments>http://www.sunnychow.com/wordpress/2010/07/visual-studio-build-enviroment-variables-aka-property-sheet-user-macro/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 23:32:34 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sunnychow.com/wordpress/?p=198</guid>
		<description><![CDATA[Here&#8217;s a howto for setting build environment variables within Visual Studio itself. Given that I&#8217;ve seen plenty of projects that used system wide environment variables for project level settings, I suspect this will be of use to other developers as well. From the menu: View > Other Windows > Property manager. Right click on Property [...]]]></description>
			<content:encoded><![CDATA[<p>
Here&#8217;s a howto for setting build environment variables within Visual Studio itself.  Given that I&#8217;ve seen plenty of projects that used system wide environment variables for project level settings, I suspect this will be of use to other developers as well.
</p>
<ol>
<li>From the menu:  View > Other Windows > Property manager.</li>
<li>Right click on Property Manager, add Property Sheet.</li>
<li>Double click on the just created Property Sheet.</li>
<li>Click on User Macros.</li>
<li>Click Add Macro.</li>
<li>Add the build variable&#8217;s name and value.  Check &#8220;Set this macro as an environment variable in the build environment&#8221;.</li>
</ol>
<p>References</p>
<ul>
<li><a href="http://msdn.microsoft.com/en-us/library/5k4a0033.aspx">MSDN entry: How to: Add New Property Sheets to C++ Projects</a></li>
<li><a href="http://msdn.microsoft.com/en-us/library/a2zdt10t.aspx">MSDN entry: Add User Macro Dialog Box</a></li>
<li><a href="http://www.gamedev.net/community/forums/topic.asp?topic_id=403145">Forum Topic Discussing this subject</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.sunnychow.com/wordpress/2010/07/visual-studio-build-enviroment-variables-aka-property-sheet-user-macro/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

