<?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[frage zu createprocess]]></title><description><![CDATA[<p>hallo,</p>
<p>ich starte aus meiner mfc-anwendung mit createprocess zwei unterschiedliche programme mit dem gleichen namen.<br />
nun soll ich - abhängig von meiner anwendung - einmal eine nachricht an das erste programm bzw. mal an das zweite schicken.<br />
ich weiss zwar, dass ich mit PROCESS_INFORMATION einen handle auf die anwendungen habe-aber WIE kann ich das richtige Window identifizieren ?<br />
danke !</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/74176/frage-zu-createprocess</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Apr 2026 15:40:08 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/74176.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 18 May 2004 05:07:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to frage zu createprocess on Tue, 18 May 2004 05:07:42 GMT]]></title><description><![CDATA[<p>hallo,</p>
<p>ich starte aus meiner mfc-anwendung mit createprocess zwei unterschiedliche programme mit dem gleichen namen.<br />
nun soll ich - abhängig von meiner anwendung - einmal eine nachricht an das erste programm bzw. mal an das zweite schicken.<br />
ich weiss zwar, dass ich mit PROCESS_INFORMATION einen handle auf die anwendungen habe-aber WIE kann ich das richtige Window identifizieren ?<br />
danke !</p>
]]></description><link>https://www.c-plusplus.net/forum/post/522411</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/522411</guid><dc:creator><![CDATA[onkel doc]]></dc:creator><pubDate>Tue, 18 May 2004 05:07:42 GMT</pubDate></item><item><title><![CDATA[Reply to frage zu createprocess on Tue, 18 May 2004 05:34:24 GMT]]></title><description><![CDATA[<p>EnumWindows um alle Desktop-Windows zu enumerieren und GetWindowThreadProcessId bzw. GetWindowModuleFileName</p>
]]></description><link>https://www.c-plusplus.net/forum/post/522415</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/522415</guid><dc:creator><![CDATA[peterchen]]></dc:creator><pubDate>Tue, 18 May 2004 05:34:24 GMT</pubDate></item><item><title><![CDATA[Reply to frage zu createprocess on Tue, 18 May 2004 07:04:45 GMT]]></title><description><![CDATA[<p>vorerst danke für die antwort. allerdings blicke ich da noch nicht ganz durch.</p>
<p>nachdem ich nun 2 unterschiedliche programme (aber gleicher name) mit createprocess gestartet habe, habe ich mir mit PROCESS_INFO.hProcess die Prozesshandles &quot;gemerkt&quot;.<br />
Allerdings find ich nicht raus - wie bzw. ob ich nun mit den prozesshandles zugriff auf die jeweiligen windows-handles bekomme.</p>
<p>bitte dringend um hilfe !!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/522436</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/522436</guid><dc:creator><![CDATA[onkel doc]]></dc:creator><pubDate>Tue, 18 May 2004 07:04:45 GMT</pubDate></item><item><title><![CDATA[Reply to frage zu createprocess on Tue, 18 May 2004 07:44:27 GMT]]></title><description><![CDATA[<p>Du mußt andersherum vorgehen:</p>
<ol>
<li>Alle Desktop-Fenster enumerieren (mit EnumWindows)</li>
<li>Jedes Fenster checken ob es zu dem entsprechenden Prozeß gehört. (mit GetWindowThreadProcessId)</li>
</ol>
]]></description><link>https://www.c-plusplus.net/forum/post/522451</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/522451</guid><dc:creator><![CDATA[peterchen]]></dc:creator><pubDate>Tue, 18 May 2004 07:44:27 GMT</pubDate></item><item><title><![CDATA[Reply to frage zu createprocess on Tue, 18 May 2004 12:31:17 GMT]]></title><description><![CDATA[<p>danke - habs hingekriegt ! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f921.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--clown_face"
      title=":clown:"
      alt="🤡"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/522632</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/522632</guid><dc:creator><![CDATA[onkel doc]]></dc:creator><pubDate>Tue, 18 May 2004 12:31:17 GMT</pubDate></item></channel></rss>