<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Tapan's Slate</title>
	<atom:link href="http://tapanpandey.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://tapanpandey.wordpress.com</link>
	<description>Confession of perceptions...</description>
	<lastBuildDate>Wed, 16 Nov 2011 04:59:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='tapanpandey.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Tapan's Slate</title>
		<link>http://tapanpandey.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://tapanpandey.wordpress.com/osd.xml" title="Tapan&#039;s Slate" />
	<atom:link rel='hub' href='http://tapanpandey.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Adding UAC elevation manifest in Visual C++ 8.0/ Visual Studio 2005 C or C++ project</title>
		<link>http://tapanpandey.wordpress.com/2009/08/30/adding-uac-elevation-manifest-in-visual-c-8-0-visual-studio-2005-c-or-c-project/</link>
		<comments>http://tapanpandey.wordpress.com/2009/08/30/adding-uac-elevation-manifest-in-visual-c-8-0-visual-studio-2005-c-or-c-project/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 17:15:41 +0000</pubDate>
		<dc:creator>tapanpandey</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[visual studio 2005 manifest]]></category>
		<category><![CDATA[visual studio add manifest]]></category>

		<guid isPermaLink="false">http://tapanpandey.wordpress.com/2009/08/30/adding-uac-elevation-manifest-in-visual-c-8-0-visual-studio-2005-c-or-c-project/</guid>
		<description><![CDATA[To add application manifest to a C or C++ application in Visual Studio 2005 so that Vista automatically display the elevation dialog while the application launch do the following steps: Open the notepad and write down following statement to the file &#60;?xml version=&#8221;1.0″ encoding=&#8221;UTF-8″ standalone=&#8221;yes&#8221;?&#62; &#60;assembly xmlns=&#8221;urn:schemas-microsoft-com:asm.v1″ manifestVersion=&#8221;1.0″&#62; &#60;assemblyIdentity version=&#8221;1.0.0.0″ processorArchitecture=&#8221;X86″ name=&#8221;Microsoft.Windows.EnableUAC&#8221; type=&#8221;win32″/&#62; &#60;trustInfo xmlns=&#8221;urn:schemas-microsoft-com:asm.v2″&#62; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapanpandey.wordpress.com&amp;blog=4910725&amp;post=94&amp;subd=tapanpandey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="margin-left:22pt;"><span style="font-family:Verdana;font-size:8pt;">To add application manifest to a C or C++ application in Visual Studio 2005 so that Vista automatically display the elevation dialog while the application launch do the following steps:<br />
</span></p>
<ol>
<li><span style="font-family:Verdana;font-size:8pt;">Open the notepad and write down following statement to the file<br />
<span style="color:gray;">&lt;?xml version=&#8221;1.0″ encoding=&#8221;UTF-8″ standalone=&#8221;yes&#8221;?&gt;<br />
&lt;assembly xmlns=&#8221;urn:schemas-microsoft-com:asm.v1″ manifestVersion=&#8221;1.0″&gt;<br />
&lt;assemblyIdentity<br />
version=&#8221;1.0.0.0″<br />
processorArchitecture=&#8221;X86″<br />
name=&#8221;Microsoft.Windows.EnableUAC&#8221;<br />
type=&#8221;win32″/&gt;<br />
&lt;trustInfo xmlns=&#8221;urn:schemas-microsoft-com:asm.v2″&gt;<br />
&lt;security&gt;<br />
&lt;requestedPrivileges&gt;<br />
&lt;requestedExecutionLevel<br />
level=&#8221;requireAdministrator&#8221;<br />
uiAccess=&#8221;false&#8221;/&gt;<br />
&lt;/requestedPrivileges&gt;<br />
&lt;/security&gt;<br />
&lt;/trustInfo&gt;<br />
&lt;/assembly&gt;</span></span> <span style="font-family:Verdana;font-size:8pt;"><br />
</span></li>
<li><span style="font-family:Verdana;font-size:8pt;">Save the file as <strong>&lt;your app name &gt;.exe.manifest</strong> into the <strong>res folde</strong>r of your project.<br />
</span></li>
<li><span style="color:black;font-family:Verdana;font-size:8pt;">Click <strong>Project </strong>submenu, select <strong>Properties </strong>command in your Visual Studio IDE.<br />
</span></li>
<li><span style="color:black;font-family:Verdana;font-size:8pt;">In <strong>Properties</strong>, select <strong>Manifest Tool </strong>command, and then select <strong>Input and Output</strong>.<br />
</span></li>
<li><span style="color:black;font-family:Verdana;font-size:8pt;">Add in the name of your application manifest file under <strong>Additional manifest files</strong>.<br />
</span></li>
<li><span style="color:black;font-family:Verdana;font-size:8pt;">Rebuild your application.<br />
</span></li>
<li><span style="font-family:Verdana;font-size:8pt;">If you have adding the elevation script properly then you can see vista shield icon overlay with your app icon in output folder.<br />
</span></li>
<li>
<div><span style="font-family:Verdana;font-size:8pt;">Run the application to test the elevation. Make sure that you have not disabled the UAC for current user.<br />
</span></div>
<p> <br />
 </p>
<p> <br />
 </li>
</ol>
<br />Posted in Computing, Visual Studio, Windows Vista Tagged: visual studio 2005 manifest, visual studio add manifest <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tapanpandey.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tapanpandey.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tapanpandey.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tapanpandey.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tapanpandey.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tapanpandey.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tapanpandey.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tapanpandey.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tapanpandey.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tapanpandey.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tapanpandey.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tapanpandey.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tapanpandey.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tapanpandey.wordpress.com/94/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapanpandey.wordpress.com&amp;blog=4910725&amp;post=94&amp;subd=tapanpandey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tapanpandey.wordpress.com/2009/08/30/adding-uac-elevation-manifest-in-visual-c-8-0-visual-studio-2005-c-or-c-project/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/943621eec28493d9f58d49c1f3448e3a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tapan</media:title>
		</media:content>
	</item>
		<item>
		<title>Adding UAC elevation manifest in Visual C++ 7.1 project</title>
		<link>http://tapanpandey.wordpress.com/2009/08/30/adding-uac-elevation-manifest-in-visual-c-7-1-project-2/</link>
		<comments>http://tapanpandey.wordpress.com/2009/08/30/adding-uac-elevation-manifest-in-visual-c-7-1-project-2/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 16:48:09 +0000</pubDate>
		<dc:creator>tapanpandey</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[UAC manifest]]></category>
		<category><![CDATA[VC++ 7.1]]></category>

		<guid isPermaLink="false">http://tapanpandey.wordpress.com/2009/08/30/adding-uac-elevation-manifest-in-visual-c-7-1-project-2/</guid>
		<description><![CDATA[To add application manifest so that Vista automatically display the elevation dialog while the application launch do the following steps: Open the notepad and write down following statement to the file &#60;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243; standalone=&#8221;yes&#8221;?&#62; &#60;assembly xmlns=&#8221;urn:schemas-microsoft-com:asm.v1&#8243; manifestVersion=&#8221;1.0&#8243;&#62; &#60;assemblyIdentity version=&#8221;1.0.0.0&#8243; processorArchitecture=&#8221;X86&#8243; name=&#8221;Microsoft.Windows.EnableUAC&#8221; type=&#8221;win32&#8243;/&#62; &#60;trustInfo xmlns=&#8221;urn:schemas-microsoft-com:asm.v2&#8243;&#62; &#60;security&#62; &#60;requestedPrivileges&#62; &#60;requestedExecutionLevel level=&#8221;requireAdministrator&#8221; uiAccess=&#8221;false&#8221;/&#62; &#60;/requestedPrivileges&#62; &#60;/security&#62; &#60;/trustInfo&#62; &#60;/assembly&#62;  Save [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapanpandey.wordpress.com&amp;blog=4910725&amp;post=90&amp;subd=tapanpandey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="margin-left:27pt;"><span style="font-family:Verdana;font-size:8pt;">To add application manifest so that Vista automatically display the elevation dialog while the application launch do the following steps:</span></p>
<ol>
<li>
<div><span style="font-family:Verdana;font-size:8pt;">Open the notepad and write down following statement to the file</span></div>
<p><span style="color:gray;font-family:Verdana;font-size:8pt;">&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243; standalone=&#8221;yes&#8221;?&gt;<br />
</span><span style="color:gray;font-family:Verdana;font-size:8pt;">&lt;assembly xmlns=&#8221;urn:schemas-microsoft-com:asm.v1&#8243; manifestVersion=&#8221;1.0&#8243;&gt;<br />
</span><span style="color:gray;font-family:Verdana;font-size:8pt;">&lt;assemblyIdentity<br />
</span><span style="color:gray;font-family:Verdana;font-size:8pt;">version=&#8221;1.0.0.0&#8243;<br />
</span><span style="color:gray;font-family:Verdana;font-size:8pt;">processorArchitecture=&#8221;X86&#8243;<br />
</span><span style="color:gray;font-family:Verdana;font-size:8pt;">name=&#8221;Microsoft.Windows.EnableUAC&#8221;<br />
</span><span style="color:gray;font-family:Verdana;font-size:8pt;">type=&#8221;win32&#8243;</span><span style="color:gray;font-family:Verdana;font-size:8pt;">/&gt;<br />
</span><span style="color:gray;font-family:Verdana;font-size:8pt;">&lt;trustInfo xmlns=&#8221;urn:schemas-microsoft-com:asm.v2&#8243;&gt;<br />
</span><span style="color:gray;font-family:Verdana;font-size:8pt;">&lt;security&gt;<br />
</span><span style="color:gray;font-family:Verdana;font-size:8pt;">&lt;requestedPrivileges&gt;<br />
</span><span style="color:gray;font-family:Verdana;font-size:8pt;">&lt;requestedExecutionLevel<br />
</span><span style="color:gray;font-family:Verdana;font-size:8pt;">level=&#8221;requireAdministrator&#8221;<br />
</span><span style="color:gray;font-family:Verdana;font-size:8pt;">uiAccess=&#8221;false&#8221;/&gt;<br />
</span><span style="color:gray;font-family:Verdana;font-size:8pt;">&lt;/requestedPrivileges&gt;<br />
</span><span style="color:gray;font-family:Verdana;font-size:8pt;">&lt;/security&gt;<br />
</span><span style="color:gray;font-family:Verdana;font-size:8pt;">&lt;/trustInfo&gt;<br />
</span><span style="color:gray;font-family:Verdana;font-size:8pt;">&lt;/assembly&gt;</span> </li>
<li><span style="font-family:Verdana;font-size:8pt;">Save the file as &lt;your app name &gt;.exe.manifest into the res folder of your project.</span></li>
<li><span style="font-family:Verdana;font-size:8pt;">Now click <em>Project-&gt; Add Resource</em></span></li>
<li><span style="font-family:Verdana;font-size:8pt;">Click <em>Import </em>command button, select &lt;your app name&gt;.exe.manifest from the res folder.</span></li>
<li><span style="font-family:Verdana;font-size:8pt;">Write <em>RT_MANIFEST</em> in Resource<em> type</em> for <em>Custom Resource Type</em> dialog box.</span></li>
<li><span style="font-family:Verdana;font-size:8pt;">Go <em>to </em>Properties and change ID property to 1.</span></li>
<li><span style="font-family:Verdana;font-size:8pt;">Similarly set Language property to Neutral selecting from combo box.</span></li>
<li><span style="font-family:Verdana;font-size:8pt;">Save the application resources and build the project.</span></li>
<li><span style="font-family:Verdana;font-size:8pt;">If you have adding the elevation script properly then you can see vista shield icon overlay with your app icon in output folder.</span></li>
<li>
<div><span style="font-family:Verdana;font-size:8pt;">Run the application to test the elevation. Make sure that you have not disabled the UAC for current user.</span></div>
</li>
</ol>
<br />Posted in Computing, Visual Studio, Windows Vista Tagged: UAC manifest, VC++ 7.1, Windows Vista <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tapanpandey.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tapanpandey.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tapanpandey.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tapanpandey.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tapanpandey.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tapanpandey.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tapanpandey.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tapanpandey.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tapanpandey.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tapanpandey.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tapanpandey.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tapanpandey.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tapanpandey.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tapanpandey.wordpress.com/90/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapanpandey.wordpress.com&amp;blog=4910725&amp;post=90&amp;subd=tapanpandey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tapanpandey.wordpress.com/2009/08/30/adding-uac-elevation-manifest-in-visual-c-7-1-project-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/943621eec28493d9f58d49c1f3448e3a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tapan</media:title>
		</media:content>
	</item>
		<item>
		<title>Windows Vista and User credentials</title>
		<link>http://tapanpandey.wordpress.com/2009/08/30/windows-vista-and-user-credentials/</link>
		<comments>http://tapanpandey.wordpress.com/2009/08/30/windows-vista-and-user-credentials/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 05:35:58 +0000</pubDate>
		<dc:creator>tapanpandey</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[UAC]]></category>
		<category><![CDATA[User Credentials]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://tapanpandey.wordpress.com/2009/08/30/windows-vista-and-user-credentials/</guid>
		<description><![CDATA[In Windows NT based operating systems like Windows 2000, Windows XP a program just cannot access or write to any location e.g. registry. The NT based OS defines user credentials for the logged in user which is set of certain access control rights for the given user. These access control rights checks if a user [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapanpandey.wordpress.com&amp;blog=4910725&amp;post=78&amp;subd=tapanpandey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-family:Verdana;font-size:8pt;">In Windows NT based operating systems like Windows 2000, Windows XP a program just cannot access or write to any location e.g. registry. The NT based OS defines user credentials for the logged in user which is set of certain access control rights for the given user. These access control rights checks if a user can be granted permission or not if he tries to write to or access a protected resource.</span></p>
<blockquote><p><span style="color:gray;font-family:Verdana;font-size:8pt;"><em>Whenever a user account is created the new user is assigned to a particular group. A group defines the access control rights of a particular set of users. By default all the users in the Windows XP are Administrators (Administrators have largest set of default permissions and can modify OS environment and other users). This can lead to potential threat to the system.</em></span></p>
<p><span style="font-family:Verdana;font-size:8pt;">Windows Vista however defines its users to be limited privileged users. Even administrators in Vista are limited privileged users by default. How ever they can elevate their access level.<br />
</span><br />
 <span style="font-family:Verdana;font-size:8pt;">When a <strong>standard user</strong> logs into machine and performs a task requiring administrative privileges (for example deleting a file, installing a software etc.) he/ she is provided with a &#8220;Credential prompt&#8221; window prompting to enter admin username and password. If the user fails to do so the task does not run.</span> <br />
 <br />
<span style="font-family:Verdana;font-size:8pt;">When a user having <strong>administrator</strong> privileges logs into the system then two tokens are created for the user. One is standard token having limited rights and a full access token used only when user elevates to full access. In this case when task requires admin privileges the user is provided with &#8220;elevation prompt&#8221; window that on clicking elevates the user rights.</span><span style="font-family:Verdana;font-size:8pt;"></p></blockquote>
<p>Type of tokens levels that Vista defines<br />
</span><span style="font-family:Verdana;font-size:8pt;"><strong><em><br />
TokenElevatonTypeDefault<br />
</em></strong>Standard users are assigned token that authenticate them to the system with a default elevation type. These token does not have a linked full access token like as in case of admin group users and users have a limited access into the system. <br />
</span><span style="font-family:Verdana;font-size:8pt;"><em><strong><br />
TokenElevationTypeFull</strong> <br />
</em>The user is normally a member of the Admin group and the token is a filtered out token from a full access token. It is more like a standard user token. The token has an associated full access token that has all admin rights and privileges enabled for it.</span><br />
 </p>
<p><span style="font-family:Verdana;font-size:8pt;"><em><strong>TokenElevationTypeLimited<br />
</strong></em></span><span style="font-family:Verdana;font-size:8pt;">Normally Admin group or Backup Operators are assigned token that has full privileges assigned to it. This token normally has a linked token associated with it having filtered privileges.</span></p>
<br />Posted in Computing Tagged: UAC, User Credentials, Windows Vista <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tapanpandey.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tapanpandey.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tapanpandey.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tapanpandey.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tapanpandey.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tapanpandey.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tapanpandey.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tapanpandey.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tapanpandey.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tapanpandey.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tapanpandey.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tapanpandey.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tapanpandey.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tapanpandey.wordpress.com/78/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapanpandey.wordpress.com&amp;blog=4910725&amp;post=78&amp;subd=tapanpandey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tapanpandey.wordpress.com/2009/08/30/windows-vista-and-user-credentials/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/943621eec28493d9f58d49c1f3448e3a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tapan</media:title>
		</media:content>
	</item>
		<item>
		<title>Message Box API with variable number of arguments&#8230;</title>
		<link>http://tapanpandey.wordpress.com/2009/07/19/message-box-api-with-variable-number-of-arguments/</link>
		<comments>http://tapanpandey.wordpress.com/2009/07/19/message-box-api-with-variable-number-of-arguments/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 08:33:26 +0000</pubDate>
		<dc:creator>tapanpandey</dc:creator>
				<category><![CDATA[Computing]]></category>

		<guid isPermaLink="false">http://tapanpandey.wordpress.com/?p=65</guid>
		<description><![CDATA[Many times we need to display formatted text (like in sprintf or printf) in a message box. Here is an sample implementation  to pass variable number of arguments to the message box API.   #include &#60;stdio.h&#62; #include &#60;tchar.h&#62; void varMessageBox( TCHAR * varCaption, TCHAR *varFormat, &#8230; ) {                 TCHAR szMsgBuffer [1024]; // formatted text holder. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapanpandey.wordpress.com&amp;blog=4910725&amp;post=65&amp;subd=tapanpandey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Many times we need to display formatted text (like in sprintf or printf) in a message box. Here is an sample implementation  to pass variable number of arguments to the message box API.</p>
<div><span style="font-size:x-small;"><span style="color:#000000;font-size:x-small;"> </span></span> #include &lt;stdio.h&gt;</div>
<div>#include &lt;tchar.h&gt;</div>
<div><span style="font-size:x-small;"></span></div>
<div><span style="font-size:x-small;"><span style="color:#000000;font-size:x-small;">void <span style="font-size:x-small;">varMessageBox( TCHAR * varCaption, TCHAR *varFormat, &#8230; )<br />
</span>{<br />
                TCHAR szMsgBuffer [1024]; // formatted text holder. Size should be enough to hold formatted text<br />
                va_list vaList;<br />
                va_start (vaList, varFormat); <br />
                _vstprintf(szMsgBuffer, varFormat, vaList);<br />
               va_end (vaList);<br />
</span></span><span style="font-size:x-small;"><span style="color:#000000;font-size:x-small;">               MessageBox (NULL, szMsgBuffer, varCaption, 0);<br />
 }</span></span></div>
<br />Posted in Computing  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tapanpandey.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tapanpandey.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tapanpandey.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tapanpandey.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tapanpandey.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tapanpandey.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tapanpandey.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tapanpandey.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tapanpandey.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tapanpandey.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tapanpandey.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tapanpandey.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tapanpandey.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tapanpandey.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapanpandey.wordpress.com&amp;blog=4910725&amp;post=65&amp;subd=tapanpandey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tapanpandey.wordpress.com/2009/07/19/message-box-api-with-variable-number-of-arguments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/943621eec28493d9f58d49c1f3448e3a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tapan</media:title>
		</media:content>
	</item>
		<item>
		<title>Visual Studio icons are here&#8230;</title>
		<link>http://tapanpandey.wordpress.com/2008/11/15/visual-studio-icons-are-here/</link>
		<comments>http://tapanpandey.wordpress.com/2008/11/15/visual-studio-icons-are-here/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 06:12:51 +0000</pubDate>
		<dc:creator>tapanpandey</dc:creator>
				<category><![CDATA[Computing]]></category>

		<guid isPermaLink="false">http://tapanpandey.wordpress.com/?p=54</guid>
		<description><![CDATA[ I had multiple versions of VS installed on my system. Few of my .vcproj files were showing no icons and I felt it very frustrating. Instead I tried to find the location where VS icons are stored. After a while I came across  VSFileHandler.dll. This is a .dll file located at %ProgramFiles%/Common Files/microsoft shared/MSEnv folder in any [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapanpandey.wordpress.com&amp;blog=4910725&amp;post=54&amp;subd=tapanpandey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p> I had multiple versions of VS installed on my system. Few of my .vcproj files were showing no icons and I felt it very frustrating. Instead I tried to find the location where VS icons are stored. After a while I came across  <strong>VSFileHandler.dll</strong>. This is a .dll file located at <em>%ProgramFiles%/Common Files/microsoft shared/MSEnv </em>folder in any local machine having VS installed.</p>
<p>VSFileHandler.dll description (as on my machine)</p>
<p>Name           : VSFileHandler.dll</p>
<p>Type            : Application Extension</p>
<p>Description : Microsoft Visual Studio Solution File Extension Handler</p>
<p>Copyright    : © Microsoft Corporation. All rights reserved.</p>
<p> If you open this file in any <a title="Download free icon viewer" href="http://www.freedownloadmanager.org/downloads/Folder_Icon_Changer_22518_p/" target="_blank">icon viewer software</a> you can see the whole set of icon supported by your version of Visual Studio.</p>
<br />Posted in Computing  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tapanpandey.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tapanpandey.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tapanpandey.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tapanpandey.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tapanpandey.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tapanpandey.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tapanpandey.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tapanpandey.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tapanpandey.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tapanpandey.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tapanpandey.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tapanpandey.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tapanpandey.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tapanpandey.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapanpandey.wordpress.com&amp;blog=4910725&amp;post=54&amp;subd=tapanpandey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tapanpandey.wordpress.com/2008/11/15/visual-studio-icons-are-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/943621eec28493d9f58d49c1f3448e3a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tapan</media:title>
		</media:content>
	</item>
	</channel>
</rss>
