<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 - Discussions by ProgrammerCS</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Niners/ProgrammerCS/Discussions/RSS"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 - Discussions by ProgrammerCS</title>
		<link>http://channel9.msdn.com/Niners/ProgrammerCS/Discussions</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Niners/ProgrammerCS/Discussions</link>
	<language>en</language>
	<pubDate>Thu, 23 May 2013 03:49:36 GMT</pubDate>
	<lastBuildDate>Thu, 23 May 2013 03:49:36 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>0</c9:totalResults>
	<c9:pageCount>0</c9:pageCount>
	<c9:pageSize>0</c9:pageSize>
	<item>
		<title>Coffeehouse - (SOLVED) $100 bounty for code, serious offer.</title>
		<description><![CDATA[<p>*solved*</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/100-bounty-for-code-serious-offer/6050b2029eaa4a9d90c8a0a600d1c648#6050b2029eaa4a9d90c8a0a600d1c648</link>
		<pubDate>Tue, 07 Aug 2012 12:43:45 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/100-bounty-for-code-serious-offer/6050b2029eaa4a9d90c8a0a600d1c648#6050b2029eaa4a9d90c8a0a600d1c648</guid>
		<dc:creator>ProgrammerCS</dc:creator>
		<slash:comments>4</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/ProgrammerCS/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - How to get the name of the related DLL for a thread in a process like Process Explorer?</title>
		<description><![CDATA[<p>*solved*</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/How-to-get-the-name-of-the-related-DLL-for-a-thread-in-a-process-like-Process-Explorer/9f07e9b2851c4bdd93b9a0a600d19ef7#9f07e9b2851c4bdd93b9a0a600d19ef7</link>
		<pubDate>Tue, 07 Aug 2012 12:43:12 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/How-to-get-the-name-of-the-related-DLL-for-a-thread-in-a-process-like-Process-Explorer/9f07e9b2851c4bdd93b9a0a600d19ef7#9f07e9b2851c4bdd93b9a0a600d19ef7</guid>
		<dc:creator>ProgrammerCS</dc:creator>
		<slash:comments>22</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/ProgrammerCS/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - How to get the name of the related DLL for a thread in a process like Process Explorer?</title>
		<description><![CDATA[<p>Hi again,</p><p>OK, I found this nice code a DbgHelp wrapper:</p><p><a href="http://www.koders.com/csharp/fidAB470706CB5969E4C035A4ED5335B647A1B82DB8.aspx?s=search">http://www.koders.com/csharp/fidAB470706CB5969E4C035A4ED5335B647A1B82DB8.aspx?s=search</a></p><p>But can anyone show me how to use the SymFromAddr function?</p><p>I cannot get it to work to get name for processthread, this is what I do:</p><p>IntPtr pOpenThread = OpenThread(ThreadAccess.SUSPEND_RESUME, false, (uint)_processthread.Id);</p><p>DbgHelp.SymInitialize(pOpenThread, null, true);</p><p>DbgHelp.SYMBOL_INFO _symbol = new DbgHelp.SYMBOL_INFO();</p><p>ulong ul = new ulong();</p><p>DbgHelp.SymFromAddr(pOpenThread, (ulong)(_processthread.StartAddress),ref ul, ref _symbol);</p><p>&quot;_symbol&quot; variable comes out all empty.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/How-to-get-the-name-of-the-related-DLL-for-a-thread-in-a-process-like-Process-Explorer/a7a59a53eea649de8961a0a500cbca45#a7a59a53eea649de8961a0a500cbca45</link>
		<pubDate>Mon, 06 Aug 2012 12:21:58 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/How-to-get-the-name-of-the-related-DLL-for-a-thread-in-a-process-like-Process-Explorer/a7a59a53eea649de8961a0a500cbca45#a7a59a53eea649de8961a0a500cbca45</guid>
		<dc:creator>ProgrammerCS</dc:creator>
		<slash:comments>22</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/ProgrammerCS/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - How to get the name of the related DLL for a thread in a process like Process Explorer?</title>
		<description><![CDATA[<p>This seems to be what I need, if only I could find a C# sample for this! Any takers please?</p><p><a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms681323%28v=vs.85%29.aspx">http://msdn.microsoft.com/en-us/library/windows/desktop/ms681323%28v=vs.85%29.aspx</a></p><p>Here is a C&#43;&#43; code of&nbsp;it but I have ZERO idea how to use/convert this in C#:</p><p><a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms680578(v=vs.85">http&#58;&#47;&#47;msdn.microsoft.com&#47;en-us&#47;library&#47;windows&#47;desktop&#47;ms680578&#40;v&#61;vs.85</a>).aspx</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/How-to-get-the-name-of-the-related-DLL-for-a-thread-in-a-process-like-Process-Explorer/85805713a4a6411f8908a0a500b6e916#85805713a4a6411f8908a0a500b6e916</link>
		<pubDate>Mon, 06 Aug 2012 11:05:57 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/How-to-get-the-name-of-the-related-DLL-for-a-thread-in-a-process-like-Process-Explorer/85805713a4a6411f8908a0a500b6e916#85805713a4a6411f8908a0a500b6e916</guid>
		<dc:creator>ProgrammerCS</dc:creator>
		<slash:comments>22</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/ProgrammerCS/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - How to get the name of the related DLL for a thread in a process like Process Explorer?</title>
		<description><![CDATA[<p>Thanks guys,</p><p>I think what &quot;evildictator&quot; said about DbgHelp.dll and GetSymbolName from Context.Esp seems&nbsp; what I need. Now, if any of you could only help me with an actual sample it would be a dream for me! I am in real trouble because my vacation time is so short.</p><p>Of couse, I stand by this, whoever delivers it first: <a href="http://channel9.msdn.com/Forums/Coffeehouse/100-bounty-for-code-serious-offer">http://channel9.msdn.com/Forums/Coffeehouse/100-bounty-for-code-serious-offer</a></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/How-to-get-the-name-of-the-related-DLL-for-a-thread-in-a-process-like-Process-Explorer/2d6032f9d5324f97acd0a0a500b3dac8#2d6032f9d5324f97acd0a0a500b3dac8</link>
		<pubDate>Mon, 06 Aug 2012 10:54:49 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/How-to-get-the-name-of-the-related-DLL-for-a-thread-in-a-process-like-Process-Explorer/2d6032f9d5324f97acd0a0a500b3dac8#2d6032f9d5324f97acd0a0a500b3dac8</guid>
		<dc:creator>ProgrammerCS</dc:creator>
		<slash:comments>22</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/ProgrammerCS/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - (SOLVED) $100 bounty for code, serious offer.</title>
		<description><![CDATA[<p></p><blockquote><div class="quoteText"><p></p><p><a class="permalink" title="Post Permalink" href="/Forums/Coffeehouse/100-bounty-for-code-serious-offer/3a35402847e740e8bc04a0a50062047a">4 hours ago</a>, <a href="/Niners/felix9">felix9</a> wrote</p><p>DbgHelp.dll ???</p><p></p></div></blockquote><p></p><p>Yes but I need a working sample in order for you to &quot;win&quot; the $100. <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-6.gif?v=c9' alt='Sad' /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/100-bounty-for-code-serious-offer/c216d82929974ce3a3b7a0a500b2c775#c216d82929974ce3a3b7a0a500b2c775</link>
		<pubDate>Mon, 06 Aug 2012 10:50:54 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/100-bounty-for-code-serious-offer/c216d82929974ce3a3b7a0a500b2c775#c216d82929974ce3a3b7a0a500b2c775</guid>
		<dc:creator>ProgrammerCS</dc:creator>
		<slash:comments>4</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/ProgrammerCS/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - How to get the name of the related DLL for a thread in a process like Process Explorer?</title>
		<description><![CDATA[<p>Thanks for the reply brian but sadly, it doesn't help me because for example if you look at the picture I provided, &quot;ntdll.dll&quot; and some other dlls are listed there which won't be listed in the process lists so I'm a bit lost how PE actually do this.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/How-to-get-the-name-of-the-related-DLL-for-a-thread-in-a-process-like-Process-Explorer/8069c74f89e441128356a0a4016aa2bd#8069c74f89e441128356a0a4016aa2bd</link>
		<pubDate>Sun, 05 Aug 2012 22:00:18 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/How-to-get-the-name-of-the-related-DLL-for-a-thread-in-a-process-like-Process-Explorer/8069c74f89e441128356a0a4016aa2bd#8069c74f89e441128356a0a4016aa2bd</guid>
		<dc:creator>ProgrammerCS</dc:creator>
		<slash:comments>22</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/ProgrammerCS/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - (SOLVED) $100 bounty for code, serious offer.</title>
		<description><![CDATA[<p>Hello,</p><p>I am not rich but I can offer $100 to anyone who can solve this issue for me:</p><p><a href="&lt;a href="><a href="http://channel9.msdn.com/Forums/TechOff/How-to-get-the-name-of-the-related-DLL-for-a-thread-in-a-process-like-Process-Explorer/">http&#58;&#47;&#47;channel9.msdn.com&#47;Forums&#47;TechOff&#47;How-to-get-the-name-of-the-related-DLL-for-a-thread-in-a-process-like-Process-Explorer&#47;</a></a></p><p>I am totally lost and cannot solve this issue by myself so I thought Channel9 is the best place to get help on this.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/100-bounty-for-code-serious-offer/f767f451738d42c387d0a0a4015b1681#f767f451738d42c387d0a0a4015b1681</link>
		<pubDate>Sun, 05 Aug 2012 21:03:42 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/100-bounty-for-code-serious-offer/f767f451738d42c387d0a0a4015b1681#f767f451738d42c387d0a0a4015b1681</guid>
		<dc:creator>ProgrammerCS</dc:creator>
		<slash:comments>4</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/ProgrammerCS/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - How to get the name of the related DLL for a thread in a process like Process Explorer?</title>
		<description><![CDATA[<p>Hi all!</p><p>How to get the name of the related DLL for a thread in a process like Process Explorer in C#?</p><p>1. I use Process[] _processlist = Process.GetProcesses(); to get all the processes running.</p><p>2. I use ProcessThreadCollection _processthreadcollection = _processlist[0].Threads ( in a foreach loop in my code ) to get the threads each process uses.</p><p>Now, I can get the process id and thread id but I don't know how to get the DLL/EXE/FUNCTION name of the threads?</p><p>In &quot;Process Explorer&quot; if you double click on a process and go to &quot;Threads&quot; tab, you get a list of all thread and in &quot;Start Address&quot; you can see which DLL is each thread related to.</p><p>But in C# code&nbsp;the start address of each thread is just a pointer not a string. I wonder how &quot;Process Explorer&quot; does it? Any chance someone here could write a small C# sample code for me?</p><p>I would GREATLY appreciate it.</p><p><img src="http://img338.imageshack.us/img338/905/helph.png" alt="Process Explorer"></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/How-to-get-the-name-of-the-related-DLL-for-a-thread-in-a-process-like-Process-Explorer/5caeacb49edc432fa0f0a0a4014c9e70#5caeacb49edc432fa0f0a0a4014c9e70</link>
		<pubDate>Sun, 05 Aug 2012 20:11:01 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/How-to-get-the-name-of-the-related-DLL-for-a-thread-in-a-process-like-Process-Explorer/5caeacb49edc432fa0f0a0a4014c9e70#5caeacb49edc432fa0f0a0a4014c9e70</guid>
		<dc:creator>ProgrammerCS</dc:creator>
		<slash:comments>22</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/ProgrammerCS/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>