<?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>Vdiscussion &#187; ANSI</title>
	<atom:link href="http://vdiscussion.com/tag/ansi/feed/" rel="self" type="application/rss+xml" />
	<link>http://vdiscussion.com</link>
	<description>Vinoth Kumar&#039;s Discussion</description>
	<lastBuildDate>Wed, 09 Dec 2009 15:34:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>How do I &#8220;get&#8221; a null pointer in my programs?</title>
		<link>http://vdiscussion.com/how-do-i-get-a-null-pointer-in-my-programs/</link>
		<comments>http://vdiscussion.com/how-do-i-get-a-null-pointer-in-my-programs/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 13:33:45 +0000</pubDate>
		<dc:creator>ma.vinothkumar</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Request]]></category>
		<category><![CDATA[ANSI]]></category>
		<category><![CDATA[null pointer]]></category>
		<category><![CDATA[pointer contex]]></category>

		<guid isPermaLink="false">http://vdiscussion.com/?p=69</guid>
		<description><![CDATA[A constant 0 in a pointer context is converted into a null pointer at compile time.  A &#8220;pointer context&#8221; is an initialization, assignment, or comparison with one side a variable or expression of pointer type, and (in ANSI standard C) a function argument which has a prototype in scope declaring a certain parameter as being [...]]]></description>
			<content:encoded><![CDATA[<p>A constant 0 in a pointer context is converted into a null pointer at compile time.  A &#8220;pointer context&#8221; is an initialization, assignment, or comparison with one side a variable or expression of pointer type, and (in ANSI standard C) a function argument which has a prototype in scope declaring a certain parameter as being of pointer type.  In other contexts (function arguments without prototypes, or in the variable part of variadic function calls) a constant 0 with an appropriate explicit cast is required.</p>
]]></content:encoded>
			<wfw:commentRss>http://vdiscussion.com/how-do-i-get-a-null-pointer-in-my-programs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is Dead-Character Messages in Visual Programming</title>
		<link>http://vdiscussion.com/what-is-dead-character-messages-in-visual-programming/</link>
		<comments>http://vdiscussion.com/what-is-dead-character-messages-in-visual-programming/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 14:21:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Theory Subjects]]></category>
		<category><![CDATA[Visual Programming]]></category>
		<category><![CDATA[ANSI]]></category>
		<category><![CDATA[ASCII]]></category>
		<category><![CDATA[Dead-Character Messages]]></category>
		<category><![CDATA[WM_CHAR]]></category>
		<category><![CDATA[WM_DEADCHAR]]></category>
		<category><![CDATA[WM_SYSDEADCHAR]]></category>
		<category><![CDATA[wParam]]></category>

		<guid isPermaLink="false">http://vdiscussion.com/?p=59</guid>
		<description><![CDATA[Windows programs can usually ignore WM_DEADCHAR and WM_SYSDEADCHAR messages, but you should definitely know what dead characters are and how they work. On some non-U.S. English keyboards, certain keys are defined to add a diacritic to a letter. These are called &#8220;dead keys&#8221; because they don&#8217;t generate characters by themselves. For instance, when a German [...]]]></description>
			<content:encoded><![CDATA[<p>Windows programs can usually ignore <strong>WM_DEADCHAR</strong> and <strong>WM_SYSDEADCHAR</strong> messages,  but you should definitely know what dead characters are and how they work.</p>
<p>On some non-U.S. English keyboards, certain keys are defined to add a  diacritic to a letter. These are called &#8220;dead keys&#8221; because they don&#8217;t generate  characters by themselves. For instance, when a German keyboard is installed, the  key that is in the same position as the +/= key on a U.S. keyboard is a dead key  for the grave accent (`) when shifted and the acute accent (´) when unshifted.</p>
<p>When a user presses this dead key, your window procedure receives a  <strong>WM_DEADCHAR</strong> message with <strong><em>wParam</em></strong> equal to ASCII or Unicode code for the  diacritic by itself. When the user then presses a letter key that can be written  with this diacritic (for instance, the A key), the window procedure receives a  <strong>WM_CHAR</strong> message where <em>wParam</em> is the ANSI code for the letter `a&#8217; with the  diacritic.</p>
<p>Thus, your program does not have to process the <strong>WM_DEADCHAR</strong> message because  the <strong>WM_CHAR</strong> message gives the program all the information it needs. The Windows  logic even has built-in error handling: If the dead key is followed by a letter  that can&#8217;t take a diacritic (such as `s&#8217;), the window procedure receives two <strong> WM_CHAR</strong> messages in a row—the first with <em>wParam</em> equal to the <strong>ASCII</strong> code  for the diacritic by itself (the same <em>wParam</em> value delivered with the  WM_DEADCHAR message) and the second with <em>wParam</em> equal to the <strong>ASCII</strong> code  for the letter `s&#8217;.</p>
<p>Of course, the best way to get a feel for this is to see it in action. You  need to load a foreign keyboard that uses dead keys, such as the German keyboard  that I described earlier. You do this in the Control Panel by selecting Keyboard  and then the Language tab. Then you need an application that shows you the  details of every keyboard message a program can receive.</p>
]]></content:encoded>
			<wfw:commentRss>http://vdiscussion.com/what-is-dead-character-messages-in-visual-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
