<?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[Verknüpfungen Öffnen.]]></title><description><![CDATA[<p>Hallo!</p>
<p>Ich habe das Problem, dass WinExec keine Verknüpfungen öffnen kann sondern nur &quot;direkte&quot; Dateien.<br />
Gibt es eine Möglichkeit, Verknüpfungen über diesen oder einen anderen Befehl zu öffnen?</p>
<p>MfG Schrimms</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/215157/verknüpfungen-öffnen</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 03:47:53 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/215157.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 06 Jun 2008 23:39:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Verknüpfungen Öffnen. on Fri, 06 Jun 2008 23:39:17 GMT]]></title><description><![CDATA[<p>Hallo!</p>
<p>Ich habe das Problem, dass WinExec keine Verknüpfungen öffnen kann sondern nur &quot;direkte&quot; Dateien.<br />
Gibt es eine Möglichkeit, Verknüpfungen über diesen oder einen anderen Befehl zu öffnen?</p>
<p>MfG Schrimms</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1524467</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1524467</guid><dc:creator><![CDATA[Schrimms]]></dc:creator><pubDate>Fri, 06 Jun 2008 23:39:17 GMT</pubDate></item><item><title><![CDATA[Reply to Verknüpfungen Öffnen. on Sat, 07 Jun 2008 00:05:12 GMT]]></title><description><![CDATA[<p>ShellExecute</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1524470</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1524470</guid><dc:creator><![CDATA[???????????]]></dc:creator><pubDate>Sat, 07 Jun 2008 00:05:12 GMT</pubDate></item><item><title><![CDATA[Reply to Verknüpfungen Öffnen. on Sat, 07 Jun 2008 00:21:00 GMT]]></title><description><![CDATA[<p>Wie kann ich das ShellExecute jetzt richtig benutzen?<br />
Also wo kommt da der Dateiname rein usw?<br />
Habe gegoogelt aber hab nich wirklich das gefunden was ich zu finden erhofft hatte.</p>
<p>Im Moment benutze ich es so :</p>
<pre><code class="language-cpp">ShellExecute(handle, &quot;open&quot;, (path += progs).c_str(), NULL, NULL, SW_SHOWNORMAL);
</code></pre>
<p>Also '(path += progs).c_str()' ist einfach der Dateiname und Pfad der zu öffnenden Verknüpfung.</p>
<p>Aber dann kommt die Fehlermeldung 'handle' undeclared (first use this function)<br />
Was muss man denn includen dass diese Meldung nicht mehr erscheint?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1524471</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1524471</guid><dc:creator><![CDATA[Schrimms]]></dc:creator><pubDate>Sat, 07 Jun 2008 00:21:00 GMT</pubDate></item><item><title><![CDATA[Reply to Verknüpfungen Öffnen. on Sat, 07 Jun 2008 00:35:52 GMT]]></title><description><![CDATA[<p>NULL statt handle und + statt +=</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1524473</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1524473</guid><dc:creator><![CDATA[^^]]></dc:creator><pubDate>Sat, 07 Jun 2008 00:35:52 GMT</pubDate></item><item><title><![CDATA[Reply to Verknüpfungen Öffnen. on Sat, 07 Jun 2008 00:36:42 GMT]]></title><description><![CDATA[<p>Schrimms schrieb:</p>
<blockquote>
<p>Wie kann ich das ShellExecute jetzt richtig benutzen?<br />
Also wo kommt da der Dateiname rein usw?<br />
Habe gegoogelt aber hab nich wirklich das gefunden was ich zu finden erhofft hatte.</p>
</blockquote>
<p>Es führt selten ein Weg daran vorbei zu lernen die Doku zu verstehen. Gleich das erste google-Ergebnis für &quot;ShellExecute&quot; ist bei mir <a href="http://msdn.microsoft.com/en-us/library/bb762153(VS.85).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/bb762153(VS.85).aspx</a>, was die Funktion eigentlich hinreichend erklären müsste.</p>
<p>Zum ersten Parameter steht dort z.B.:</p>
<blockquote>
<p>hwnd<br />
    [in] A handle to the owner window used for displaying a user interface (UI) or error messages. <strong>This value can be NULL if the operation is not associated with a window.</strong></p>
</blockquote>
<p>(Hervorhebung von mir)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1524474</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1524474</guid><dc:creator><![CDATA[Christoph]]></dc:creator><pubDate>Sat, 07 Jun 2008 00:36:42 GMT</pubDate></item><item><title><![CDATA[Reply to Verknüpfungen Öffnen. on Sun, 08 Jun 2008 14:40:10 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile-var-mode-is-viewprofile-and-u-is-403.html" rel="nofollow">HumeSikkins</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-15.html" rel="nofollow">C++</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-4.html" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39405.html" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1525197</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1525197</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Sun, 08 Jun 2008 14:40:10 GMT</pubDate></item></channel></rss>