<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Thread- und Process Handle über HINSTANCE ermitteln?]]></title><description><![CDATA[<p>Hallo zusammen!</p>
<p>Ich habe lediglich ein Instanzhandle (HINSTANCE) von einem Process, den ich über ShellExecute() gestartet habe. Jedoch benötige ich nun das Threadhandle und das Processhandle dieses Prozesses. Weiß jemand, wie ich das anstellen kann? <strong>Oder gibt es überhaupt irgendeinen Weg an die Handles zu kommen?</strong><br />
Danke schon mal im Voraus!</p>
<p>Grüße<br />
veryxRV</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/206227/thread-und-process-handle-über-hinstance-ermitteln</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Apr 2026 11:15:26 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/206227.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 22 Feb 2008 12:02:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Thread- und Process Handle über HINSTANCE ermitteln? on Fri, 22 Feb 2008 12:09:10 GMT]]></title><description><![CDATA[<p>Hallo zusammen!</p>
<p>Ich habe lediglich ein Instanzhandle (HINSTANCE) von einem Process, den ich über ShellExecute() gestartet habe. Jedoch benötige ich nun das Threadhandle und das Processhandle dieses Prozesses. Weiß jemand, wie ich das anstellen kann? <strong>Oder gibt es überhaupt irgendeinen Weg an die Handles zu kommen?</strong><br />
Danke schon mal im Voraus!</p>
<p>Grüße<br />
veryxRV</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1460876</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1460876</guid><dc:creator><![CDATA[veryxRV]]></dc:creator><pubDate>Fri, 22 Feb 2008 12:09:10 GMT</pubDate></item><item><title><![CDATA[Reply to Thread- und Process Handle über HINSTANCE ermitteln? on Fri, 22 Feb 2008 12:03:34 GMT]]></title><description><![CDATA[<p>Das geht nicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1460877</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1460877</guid><dc:creator><![CDATA[antwort]]></dc:creator><pubDate>Fri, 22 Feb 2008 12:03:34 GMT</pubDate></item><item><title><![CDATA[Reply to Thread- und Process Handle über HINSTANCE ermitteln? on Fri, 22 Feb 2008 12:06:23 GMT]]></title><description><![CDATA[<blockquote>
<p>It is not a true HINSTANCE, however. The only thing that can be done with the returned HINSTANCE is to cast it to an int and compare it with the value 32 or one of the error codes below.</p>
</blockquote>
<p>Aber selbst wenn es &quot;a true HINSTANCE&quot; wäre würde es nicht gehen. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1460880</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1460880</guid><dc:creator><![CDATA[antwort]]></dc:creator><pubDate>Fri, 22 Feb 2008 12:06:23 GMT</pubDate></item><item><title><![CDATA[Reply to Thread- und Process Handle über HINSTANCE ermitteln? on Fri, 22 Feb 2008 12:06:31 GMT]]></title><description><![CDATA[<p>Habe meine Post gerade editiert, weil ich festegestellt habe, dass ich nicht die IDs sondern die jeweiligen Handles brauche, geht das evtl.?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1460881</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1460881</guid><dc:creator><![CDATA[veryxRV]]></dc:creator><pubDate>Fri, 22 Feb 2008 12:06:31 GMT</pubDate></item><item><title><![CDATA[Reply to Thread- und Process Handle über HINSTANCE ermitteln? on Fri, 22 Feb 2008 12:08:09 GMT]]></title><description><![CDATA[<p>Ah stimmt, jetzt fällt mir auch wieder ein, dass ich das selbst schon mal gelesen habe <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /> danke!</p>
<p>Gibt es denn einen anderen Weg, an die Handles zu kommen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1460884</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1460884</guid><dc:creator><![CDATA[veryxRV]]></dc:creator><pubDate>Fri, 22 Feb 2008 12:08:09 GMT</pubDate></item><item><title><![CDATA[Reply to Thread- und Process Handle über HINSTANCE ermitteln? on Fri, 22 Feb 2008 12:08:21 GMT]]></title><description><![CDATA[<p>Nimm ShellExecute<strong>Ex</strong></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1460885</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1460885</guid><dc:creator><![CDATA[ubd]]></dc:creator><pubDate>Fri, 22 Feb 2008 12:08:21 GMT</pubDate></item><item><title><![CDATA[Reply to Thread- und Process Handle über HINSTANCE ermitteln? on Fri, 22 Feb 2008 12:31:56 GMT]]></title><description><![CDATA[<p>Das funktioniert, danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1460911</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1460911</guid><dc:creator><![CDATA[veryxRV]]></dc:creator><pubDate>Fri, 22 Feb 2008 12:31:56 GMT</pubDate></item></channel></rss>