<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Windows: Part 2</title>
	<atom:link href="http://www.breaktrycatch.com/windows-part-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.breaktrycatch.com/windows-part-2/</link>
	<description></description>
	<lastBuildDate>Wed, 14 Nov 2012 18:30:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: John</title>
		<link>http://www.breaktrycatch.com/windows-part-2/comment-page-1/#comment-1622</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 18 Jan 2012 14:19:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.breaktrycatch.com/?p=846#comment-1622</guid>
		<description>aww i posted wrong link, use it:
http://www.codeproject.com/KB/cpp/FastDelegate.aspx</description>
		<content:encoded><![CDATA[<p>aww i posted wrong link, use it:<br />
<a href="http://www.codeproject.com/KB/cpp/FastDelegate.aspx" rel="nofollow">http://www.codeproject.com/KB/cpp/FastDelegate.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.breaktrycatch.com/windows-part-2/comment-page-1/#comment-1621</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 18 Jan 2012 14:15:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.breaktrycatch.com/?p=846#comment-1621</guid>
		<description>Jon,
I solved this problem by using FastDelegate. You should know about that. I succefull checked it and it work perfectly.
Check it:
http://www.codeproject.com/KB/cpp/fd.aspx

Also it allow you to comparing.
Almost finished my window class ;D
Will be perfect if to use in it a signals/slots like in Qt. This can be done by using an laitweight sig/slot library but it&#039;s another question.
Thank you Jon. Keep it up! Have a good day!</description>
		<content:encoded><![CDATA[<p>Jon,<br />
I solved this problem by using FastDelegate. You should know about that. I succefull checked it and it work perfectly.<br />
Check it:<br />
<a href="http://www.codeproject.com/KB/cpp/fd.aspx" rel="nofollow">http://www.codeproject.com/KB/cpp/fd.aspx</a></p>
<p>Also it allow you to comparing.<br />
Almost finished my window class ;D<br />
Will be perfect if to use in it a signals/slots like in Qt. This can be done by using an laitweight sig/slot library but it&#8217;s another question.<br />
Thank you Jon. Keep it up! Have a good day!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Keon</title>
		<link>http://www.breaktrycatch.com/windows-part-2/comment-page-1/#comment-1619</link>
		<dc:creator>Jon Keon</dc:creator>
		<pubDate>Wed, 18 Jan 2012 13:15:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.breaktrycatch.com/?p=846#comment-1619</guid>
		<description>Hey John,
You can compare function and instance pointers. I agree that using the Callbacks lib with the modifications I made is probably incorrect since the function pointers are pointing to the static wrapper functions and not the actual function pointer we need so it works in my example but will probably be unsafe for future development.

That being said, I&#039;m working on a Callback class that will support equality checking and will hopefully have a post up about it this weekend.</description>
		<content:encoded><![CDATA[<p>Hey John,<br />
You can compare function and instance pointers. I agree that using the Callbacks lib with the modifications I made is probably incorrect since the function pointers are pointing to the static wrapper functions and not the actual function pointer we need so it works in my example but will probably be unsafe for future development.</p>
<p>That being said, I&#8217;m working on a Callback class that will support equality checking and will hopefully have a post up about it this weekend.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.breaktrycatch.com/windows-part-2/comment-page-1/#comment-1618</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 18 Jan 2012 08:20:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.breaktrycatch.com/?p=846#comment-1618</guid>
		<description>Hi jon,
Same, i&#039;m using vs2010. i&#039;ve been working almost full night on this problem but i did not change code in callbacks lib.

Callbacks can&#039;t be compared. All community saying about it. This is not right way if we wanna to compare it because unsafe.</description>
		<content:encoded><![CDATA[<p>Hi jon,<br />
Same, i&#8217;m using vs2010. i&#8217;ve been working almost full night on this problem but i did not change code in callbacks lib.</p>
<p>Callbacks can&#8217;t be compared. All community saying about it. This is not right way if we wanna to compare it because unsafe.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Keon</title>
		<link>http://www.breaktrycatch.com/windows-part-2/comment-page-1/#comment-1617</link>
		<dc:creator>Jon Keon</dc:creator>
		<pubDate>Wed, 18 Jan 2012 00:01:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.breaktrycatch.com/?p=846#comment-1617</guid>
		<description>Hi John,

What compiler are you using? I&#039;m using Visual Studio 2010 and it&#039;s compiling just fine for me.</description>
		<content:encoded><![CDATA[<p>Hi John,</p>
<p>What compiler are you using? I&#8217;m using Visual Studio 2010 and it&#8217;s compiling just fine for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.breaktrycatch.com/windows-part-2/comment-page-1/#comment-1616</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 17 Jan 2012 22:33:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.breaktrycatch.com/?p=846#comment-1616</guid>
		<description>Well,
I tested it with that callbacks lib, and this don&#039;t work anymore.

if (existing == messageHandler) {

Compiler stopping with error:

error C2451: conditional expression of type &#039;void&#039; is illegal Expressions of type void cannot be converted to other types

Error: expression must have bool type (or be convertible to bool)

Does any one know other ways to compare?

Good article but unfinished ;)</description>
		<content:encoded><![CDATA[<p>Well,<br />
I tested it with that callbacks lib, and this don&#8217;t work anymore.</p>
<p>if (existing == messageHandler) {</p>
<p>Compiler stopping with error:</p>
<p>error C2451: conditional expression of type &#8216;void&#8217; is illegal Expressions of type void cannot be converted to other types</p>
<p>Error: expression must have bool type (or be convertible to bool)</p>
<p>Does any one know other ways to compare?</p>
<p>Good article but unfinished <img src='http://www.breaktrycatch.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Keon</title>
		<link>http://www.breaktrycatch.com/windows-part-2/comment-page-1/#comment-1615</link>
		<dc:creator>Jon Keon</dc:creator>
		<pubDate>Tue, 17 Jan 2012 21:57:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.breaktrycatch.com/?p=846#comment-1615</guid>
		<description>Hi John,

If you check out the link for the Callbacks here http://www.codeproject.com/KB/cpp/CPPCallback.aspx you&#039;ll find in the comments that I responded with some code to compare equality of the Callbacks.</description>
		<content:encoded><![CDATA[<p>Hi John,</p>
<p>If you check out the link for the Callbacks here <a href="http://www.codeproject.com/KB/cpp/CPPCallback.aspx" rel="nofollow">http://www.codeproject.com/KB/cpp/CPPCallback.aspx</a> you&#8217;ll find in the comments that I responded with some code to compare equality of the Callbacks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.breaktrycatch.com/windows-part-2/comment-page-1/#comment-1614</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 17 Jan 2012 21:32:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.breaktrycatch.com/?p=846#comment-1614</guid>
		<description>hello,
good job, but i found something weird in your code:
that lines:

//Loop through all the callbacks
for (; start != end; ++start) {
//Get the Callback and see if we&#039;ve already got it
existing = start-&gt;second;
if (existing == messageHandler) {

can you compare 2x callbacks? It&#039;s weird. How it possible? Becouse it&#039;s uncompilable.</description>
		<content:encoded><![CDATA[<p>hello,<br />
good job, but i found something weird in your code:<br />
that lines:</p>
<p>//Loop through all the callbacks<br />
for (; start != end; ++start) {<br />
//Get the Callback and see if we&#8217;ve already got it<br />
existing = start-&gt;second;<br />
if (existing == messageHandler) {</p>
<p>can you compare 2x callbacks? It&#8217;s weird. How it possible? Becouse it&#8217;s uncompilable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BreakTryCatch &#187; Getting Started With DirectX 11</title>
		<link>http://www.breaktrycatch.com/windows-part-2/comment-page-1/#comment-1343</link>
		<dc:creator>BreakTryCatch &#187; Getting Started With DirectX 11</dc:creator>
		<pubDate>Sat, 29 Oct 2011 16:01:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.breaktrycatch.com/?p=846#comment-1343</guid>
		<description>[...] that we have a bit of a basic framework going with the SystemWindow, we can start using that Window to actually display [...]</description>
		<content:encoded><![CDATA[<p>[...] that we have a bit of a basic framework going with the SystemWindow, we can start using that Window to actually display [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
