<?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: Setting a Visual Studio breakpoint on a Win32 API function in user32.dll</title>
	<atom:link href="http://entrian.com/blog/setting-a-visual-studio-breakpoint-on-a-win32-api-function-in-user32dll/feed/" rel="self" type="application/rss+xml" />
	<link>http://entrian.com/blog/setting-a-visual-studio-breakpoint-on-a-win32-api-function-in-user32dll/</link>
	<description>The blog of Richie Hindle and Entrian Solutions, creators of Entrian Source Search, a full-text search add-in for Visual Studio.</description>
	<lastBuildDate>Mon, 20 Jun 2011 13:41:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Richie Hindle</title>
		<link>http://entrian.com/blog/setting-a-visual-studio-breakpoint-on-a-win32-api-function-in-user32dll/comment-page-1/#comment-8527</link>
		<dc:creator>Richie Hindle</dc:creator>
		<pubDate>Mon, 20 Jun 2011 13:41:15 +0000</pubDate>
		<guid isPermaLink="false">http://entrian.com/blog/?p=116#comment-8527</guid>
		<description>@Mehdi: I’m sure that would work, but it requires you to change your source code. Just adding “NtUser” to the name is much easier if it works – if it doesn’t, your method would be very useful!</description>
		<content:encoded><![CDATA[<p>@Mehdi: I’m sure that would work, but it requires you to change your source code. Just adding “NtUser” to the name is much easier if it works – if it doesn’t, your method would be very useful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mehdi</title>
		<link>http://entrian.com/blog/setting-a-visual-studio-breakpoint-on-a-win32-api-function-in-user32dll/comment-page-1/#comment-8490</link>
		<dc:creator>Mehdi</dc:creator>
		<pubDate>Thu, 16 Jun 2011 19:25:25 +0000</pubDate>
		<guid isPermaLink="false">http://entrian.com/blog/?p=116#comment-8490</guid>
		<description>Why dont take the function adress directly: declare a pointer to the api function where you want to put the breakpoint, in this case:

BOOL (*ptFunction)(HWND) = ::LockWindowUpdate ;

then debug your program, in the watch take the value of ptFunction and add it in the &quot;Break at Function&quot; dialog</description>
		<content:encoded><![CDATA[<p>Why dont take the function adress directly: declare a pointer to the api function where you want to put the breakpoint, in this case:</p>
<p>BOOL (*ptFunction)(HWND) = ::LockWindowUpdate ;</p>
<p>then debug your program, in the watch take the value of ptFunction and add it in the &#8220;Break at Function&#8221; dialog</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Innes</title>
		<link>http://entrian.com/blog/setting-a-visual-studio-breakpoint-on-a-win32-api-function-in-user32dll/comment-page-1/#comment-4294</link>
		<dc:creator>Innes</dc:creator>
		<pubDate>Tue, 01 Jun 2010 10:49:46 +0000</pubDate>
		<guid isPermaLink="false">http://entrian.com/blog/?p=116#comment-4294</guid>
		<description>...and I got it working.

I guess I should have read the words &#039;native only&#039; on the MS page, and actually paid attention!</description>
		<content:encoded><![CDATA[<p>&#8230;and I got it working.</p>
<p>I guess I should have read the words &#8216;native only&#8217; on the MS page, and actually paid attention!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Innes</title>
		<link>http://entrian.com/blog/setting-a-visual-studio-breakpoint-on-a-win32-api-function-in-user32dll/comment-page-1/#comment-4293</link>
		<dc:creator>Innes</dc:creator>
		<pubDate>Tue, 01 Jun 2010 10:19:08 +0000</pubDate>
		<guid isPermaLink="false">http://entrian.com/blog/?p=116#comment-4293</guid>
		<description>I want to do this kind of thing at the moment. When reading about the facility, I immediately thought &quot;I&#039;ll be amazed if this works&quot;, and sure enough it doesn&#039;t. I tried your &#039;SendMessage&#039; breakpoint but no dice. I wonder what I could be doing wrong. The MS page on this is of course not much use: http://msdn.microsoft.com/en-us/library/d16ayc6z.aspx</description>
		<content:encoded><![CDATA[<p>I want to do this kind of thing at the moment. When reading about the facility, I immediately thought &#8220;I&#8217;ll be amazed if this works&#8221;, and sure enough it doesn&#8217;t. I tried your &#8216;SendMessage&#8217; breakpoint but no dice. I wonder what I could be doing wrong. The MS page on this is of course not much use: <a href="http://msdn.microsoft.com/en-us/library/d16ayc6z.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/d16ayc6z.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richie Hindle</title>
		<link>http://entrian.com/blog/setting-a-visual-studio-breakpoint-on-a-win32-api-function-in-user32dll/comment-page-1/#comment-1374</link>
		<dc:creator>Richie Hindle</dc:creator>
		<pubDate>Mon, 15 Jun 2009 19:56:50 +0000</pubDate>
		<guid isPermaLink="false">http://entrian.com/blog/?p=116#comment-1374</guid>
		<description>@Asher: You type the expression into the New Breakpoint dialog, not the Watch window.</description>
		<content:encoded><![CDATA[<p>@Asher: You type the expression into the New Breakpoint dialog, not the Watch window.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asher</title>
		<link>http://entrian.com/blog/setting-a-visual-studio-breakpoint-on-a-win32-api-function-in-user32dll/comment-page-1/#comment-1373</link>
		<dc:creator>Asher</dc:creator>
		<pubDate>Mon, 15 Jun 2009 19:13:18 +0000</pubDate>
		<guid isPermaLink="false">http://entrian.com/blog/?p=116#comment-1373</guid>
		<description>I don&#039;t know how these expressions work.

When I type {,,user32.dll}_SendMessageA@16 into the watch window, I get the error &quot;CXX0036: Error: bad context {...} specification&quot;</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know how these expressions work.</p>
<p>When I type {,,user32.dll}_SendMessageA@16 into the watch window, I get the error &#8220;CXX0036: Error: bad context {&#8230;} specification&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

