<?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üpfung erstellen]]></title><description><![CDATA[<p>Servus an alle,</p>
<p>ich suche eine Funktion, die eine Verknüpfung einer Exe Datei erstellt. Die Verknüpfung soll im Autostart stehen.</p>
<p>Danke im Voraus,<br />
Felix</p>
<p>____________________</p>
<p><a href="http://www.c-programmieren.com" rel="nofollow">www.c-programmieren.com</a></p>
]]></description><link>https://www.c-plusplus.net/forum/topic/168488/verknüpfung-erstellen</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Jul 2026 05:24:51 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/168488.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 23 Dec 2006 10:32:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Verknüpfung erstellen on Sat, 23 Dec 2006 10:32:52 GMT]]></title><description><![CDATA[<p>Servus an alle,</p>
<p>ich suche eine Funktion, die eine Verknüpfung einer Exe Datei erstellt. Die Verknüpfung soll im Autostart stehen.</p>
<p>Danke im Voraus,<br />
Felix</p>
<p>____________________</p>
<p><a href="http://www.c-programmieren.com" rel="nofollow">www.c-programmieren.com</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1196915</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1196915</guid><dc:creator><![CDATA[Felix15]]></dc:creator><pubDate>Sat, 23 Dec 2006 10:32:52 GMT</pubDate></item><item><title><![CDATA[Reply to Verknüpfung erstellen on Sat, 23 Dec 2006 12:34:34 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile.php?mode=viewprofile&amp;u=14811" rel="nofollow">TactX</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=10" rel="nofollow">ANSI C</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=4" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39405" 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/1196950</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1196950</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Sat, 23 Dec 2006 12:34:34 GMT</pubDate></item><item><title><![CDATA[Reply to Verknüpfung erstellen on Sat, 23 Dec 2006 12:41:35 GMT]]></title><description><![CDATA[<p>Hi, es gibt da zwei wesentliche Möglichkeiten:</p>
<p>Entweder du kopierst die *.exe Datei in den Autostartordner, oder registrierst sie bei der Registry, wobei Letzteres eleganter und vor allem professioneller ist. Hier ein kleiner Code, wie du dein Programm registrierst:</p>
<pre><code class="language-cpp">HKEY hkey;
HKEY KEY = HKEY_LOCAL_MACHINE;
char place[100]= {&quot;Software\\Microsoft\\Windows\\CurrentVersion\\Run&quot;};
char name[100]= {&quot;DeinProgramm&quot;};
char value[300]= {&quot;C://beispielpfad&quot;};

RegOpenKeyEx(KEY,(LPCTSTR)place,0, KEY_ALL_ACCESS,&amp;hkey); 
RegSetValueEx(hkey, name, 0, REG_SZ, (BYTE *)value, strlen(value));
RegCloseKey(hkey);
</code></pre>
<p>Alternativ dazu kannst du es dann auch noch mit Parameter starten, damit es sich z.B minimiert (bzw. versteckt) ausführt.</p>
<p>Ich hoffe, das hilft dir weiter <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>
<p>MfG, mikey.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1196956</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1196956</guid><dc:creator><![CDATA[mikey]]></dc:creator><pubDate>Sat, 23 Dec 2006 12:41:35 GMT</pubDate></item><item><title><![CDATA[Reply to Verknüpfung erstellen on Sat, 23 Dec 2006 12:52:26 GMT]]></title><description><![CDATA[<p><a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39361.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-39361.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1196963</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1196963</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Sat, 23 Dec 2006 12:52:26 GMT</pubDate></item><item><title><![CDATA[Reply to Verknüpfung erstellen on Sat, 23 Dec 2006 13:14:08 GMT]]></title><description><![CDATA[<p>Vielen Dank an euch,</p>
<p>Felix</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1196970</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1196970</guid><dc:creator><![CDATA[Felix15]]></dc:creator><pubDate>Sat, 23 Dec 2006 13:14:08 GMT</pubDate></item></channel></rss>