<?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[Pipes und Dlls]]></title><description><![CDATA[<p>Hallo an alle!</p>
<p>Vorweg: Die Suchfunktion hat zu &quot;pipes AND dll&quot; nichts gefunden.</p>
<p>In einer Dll soll bei Bedarf eine Pipe durch eine exportierte Funktion instantiiert werden. Diese Funktion wird z.B. von Applikation &quot;1&quot; aufgerufen.<br />
Applikation &quot;2&quot; ruft eine &quot;andere Dll-Funktion&quot; auf, die im Verlauf prüft, ob die Pipe vorhanden ist. Wenn ja, schreibt diese Dll-Funktion in die Pipe Bytes.<br />
Prozesslokal (App &quot;1&quot; = App &quot;2&quot;) klappt das gut. Prozessglobal jedoch gar nicht.<br />
In der Funktion &quot;andere Dll-Funktion&quot; ist dieses Konstrukt:</p>
<p>DuplicateHandle(...) = TRUE;<br />
ConnectNamedPipe(...) = FALSE; mit GetLastError() == 6; (ERROR_INVALID_HANDLE)</p>
<p>Was bedeutet das? Wo kann der Fehler liegen?</p>
<p>Danke für eure Hilfe vorab!</p>
<p>Gruss</p>
<p>Lars</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/240160/pipes-und-dlls</link><generator>RSS for Node</generator><lastBuildDate>Mon, 06 Apr 2026 10:05:57 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/240160.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 02 May 2009 20:42:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Pipes und Dlls on Sat, 02 May 2009 20:42:39 GMT]]></title><description><![CDATA[<p>Hallo an alle!</p>
<p>Vorweg: Die Suchfunktion hat zu &quot;pipes AND dll&quot; nichts gefunden.</p>
<p>In einer Dll soll bei Bedarf eine Pipe durch eine exportierte Funktion instantiiert werden. Diese Funktion wird z.B. von Applikation &quot;1&quot; aufgerufen.<br />
Applikation &quot;2&quot; ruft eine &quot;andere Dll-Funktion&quot; auf, die im Verlauf prüft, ob die Pipe vorhanden ist. Wenn ja, schreibt diese Dll-Funktion in die Pipe Bytes.<br />
Prozesslokal (App &quot;1&quot; = App &quot;2&quot;) klappt das gut. Prozessglobal jedoch gar nicht.<br />
In der Funktion &quot;andere Dll-Funktion&quot; ist dieses Konstrukt:</p>
<p>DuplicateHandle(...) = TRUE;<br />
ConnectNamedPipe(...) = FALSE; mit GetLastError() == 6; (ERROR_INVALID_HANDLE)</p>
<p>Was bedeutet das? Wo kann der Fehler liegen?</p>
<p>Danke für eure Hilfe vorab!</p>
<p>Gruss</p>
<p>Lars</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1704599</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1704599</guid><dc:creator><![CDATA[chezzmatazz]]></dc:creator><pubDate>Sat, 02 May 2009 20:42:39 GMT</pubDate></item></channel></rss>