<?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[Autostart geht nicht]]></title><description><![CDATA[<p>Hi ich würde gern ein Prog automatisch mit Windows starten lassen, hab mir unter anderem auch schon diesen linke hier : <a href="http://www.codeproject.com/shell/CShortcut.asp" rel="nofollow">http://www.codeproject.com/shell/CShortcut.asp</a> reingezogen, aber das funtzt irgendwie nich.<br />
Vll. bin ich auch nur zu blöd die Klasse richtig einzbinden, aber aufjedenfall gehts nich bei mir. Ne andere Möglichkeit wäre ja das ganze über die Registry zu machen so wie hier : <a href="http://www.c-plusplus.net/forum/viewtopic-var-p-is-283018.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-p-is-283018.html</a> , aber auch das klappt nicht.<br />
Hat jemand vll. ne einfache Lösung ?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/196449/autostart-geht-nicht</link><generator>RSS for Node</generator><lastBuildDate>Thu, 09 Apr 2026 02:50:29 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/196449.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 29 Oct 2007 21:16:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Autostart geht nicht on Mon, 29 Oct 2007 21:16:35 GMT]]></title><description><![CDATA[<p>Hi ich würde gern ein Prog automatisch mit Windows starten lassen, hab mir unter anderem auch schon diesen linke hier : <a href="http://www.codeproject.com/shell/CShortcut.asp" rel="nofollow">http://www.codeproject.com/shell/CShortcut.asp</a> reingezogen, aber das funtzt irgendwie nich.<br />
Vll. bin ich auch nur zu blöd die Klasse richtig einzbinden, aber aufjedenfall gehts nich bei mir. Ne andere Möglichkeit wäre ja das ganze über die Registry zu machen so wie hier : <a href="http://www.c-plusplus.net/forum/viewtopic-var-p-is-283018.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-p-is-283018.html</a> , aber auch das klappt nicht.<br />
Hat jemand vll. ne einfache Lösung ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1394371</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1394371</guid><dc:creator><![CDATA[toxor]]></dc:creator><pubDate>Mon, 29 Oct 2007 21:16:35 GMT</pubDate></item><item><title><![CDATA[Reply to Autostart geht nicht on Tue, 30 Oct 2007 05:46:11 GMT]]></title><description><![CDATA[<p>Du kannst doch ganz einfach deine Application nach:</p>
<p>C:\Dokumente und Einstellungen\All Users\Startmenü\Programme\Autostart</p>
<p>kopieren (bzw. nur ein Shortcut davon)</p>
<p>dann wird sie immer beim Windowsstart ausgeführt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1394439</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1394439</guid><dc:creator><![CDATA[pGL]]></dc:creator><pubDate>Tue, 30 Oct 2007 05:46:11 GMT</pubDate></item><item><title><![CDATA[Reply to Autostart geht nicht on Tue, 30 Oct 2007 05:58:46 GMT]]></title><description><![CDATA[<p>ja schon, aber das will ich das Programm automatisch machen lassen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1394440</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1394440</guid><dc:creator><![CDATA[toxor]]></dc:creator><pubDate>Tue, 30 Oct 2007 05:58:46 GMT</pubDate></item><item><title><![CDATA[Reply to Autostart geht nicht on Tue, 30 Oct 2007 06:30:41 GMT]]></title><description><![CDATA[<p>Und wo ist nun Deine Frage?<br />
Was funktioniert nicht?<br />
Welchen Fehler bekommst Du?<br />
Warum glaubst Du das wir eine Kristallkugel haben?</p>
<p>etc.</p>
<p>Die Klasse hat einen Header und eine CPP. Die fügst Du in Dein Projekt ein.<br />
Danach erstellst Du eine Instanz und rufst die Funktion auf.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1394445</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1394445</guid><dc:creator><![CDATA[Unix-Tom]]></dc:creator><pubDate>Tue, 30 Oct 2007 06:30:41 GMT</pubDate></item><item><title><![CDATA[Reply to Autostart geht nicht on Tue, 30 Oct 2007 07:10:50 GMT]]></title><description><![CDATA[<p>Wenn ich die Funktion &quot;CreateShortCut&quot; aufrufen will, wird mir angezeigt das der Bezeichner &quot;CreateShortCut&quot; nicht definiert ist. Allerdings steht die defnition ja in der .cpp. Und eben das erkennt der Compiler nicht...das ist mein Problem...</p>
<p>Wenn ichs über die Registry machen will, startet er das Programm nicht beim start obwohl der Eintrag in der Registry steht.</p>
<p>Meine Frage lautet also : Ob jemand vll. ein ähnliches Problem hat/hatte und/oder es für mein Problem eine einfachere Lösung gibt ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1394458</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1394458</guid><dc:creator><![CDATA[toxor]]></dc:creator><pubDate>Tue, 30 Oct 2007 07:10:50 GMT</pubDate></item><item><title><![CDATA[Reply to Autostart geht nicht on Tue, 30 Oct 2007 07:26:58 GMT]]></title><description><![CDATA[<p>toxor schrieb:</p>
<blockquote>
<p>Wenn ich die Funktion &quot;CreateShortCut&quot; aufrufen will, wird mir angezeigt das der Bezeichner &quot;CreateShortCut&quot; nicht definiert ist. Allerdings steht die defnition ja in der .cpp. Und eben das erkennt der Compiler nicht...das ist mein Problem...</p>
</blockquote>
<p>Wer genau beschwert sich da? Der Compiler (C...) oder der Linker (LNK...)? Und hast du im Header auch den korrekten Prototyp der Funktion angegeben?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1394463</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1394463</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Tue, 30 Oct 2007 07:26:58 GMT</pubDate></item><item><title><![CDATA[Reply to Autostart geht nicht on Tue, 30 Oct 2007 07:34:32 GMT]]></title><description><![CDATA[<p>Es ist der Compiler würde ich jetzt mal sagen, vermutlich hab ich genau das falsch gemacht ( falsch eingebunden ), ich werd mir mal das Demoprojekt reinziehen und meld mich wieder wenn ich alles kaputt gemacht hab <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/1394468</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1394468</guid><dc:creator><![CDATA[toxor]]></dc:creator><pubDate>Tue, 30 Oct 2007 07:34:32 GMT</pubDate></item><item><title><![CDATA[Reply to Autostart geht nicht on Tue, 30 Oct 2007 08:32:14 GMT]]></title><description><![CDATA[<p>Also muss jetzt wieder nerven, weil ichs einfach nicht hinkrieg.<br />
Ich füge die zwei neuen cpp/h ein, schreib in meine BlaDlg.cpp #include &quot;Shortcut.h&quot; und erstelle den Zeiger m_pShortcut für die neue Klasse.<br />
Warum erkennt er den Zeiger nicht in der Hauptanwendung ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1394499</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1394499</guid><dc:creator><![CDATA[toxor]]></dc:creator><pubDate>Tue, 30 Oct 2007 08:32:14 GMT</pubDate></item><item><title><![CDATA[Reply to Autostart geht nicht on Tue, 30 Oct 2007 08:34:40 GMT]]></title><description><![CDATA[<p>Zeig doch mal ein wenig Code? Wo hast du den Zeiger angelegt und wo soll er ihn erkennen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1394500</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1394500</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Tue, 30 Oct 2007 08:34:40 GMT</pubDate></item><item><title><![CDATA[Reply to Autostart geht nicht on Tue, 30 Oct 2007 10:10:02 GMT]]></title><description><![CDATA[<p>Naja is halt ein bischen viel Code, aber ich versuchs jetzt doch wieder über die Registry</p>
<pre><code class="language-cpp">CString strPath;
	strPath = GetCommandLine();
	CRegKey key;
	key.Open( HKEY_LOCAL_MACHINE, &quot;Software\\Microsoft\\Windows\\CurrentVersion\\Run&quot;, KEY_WRITE);
	BYTE *pbBuffer = (BYTE *)malloc(300); 
	strcpy((char*)pbBuffer, strPath);
	key.SetValue( &quot;Timer&quot;, (DWORD)REG_SZ,pbBuffer,300);
	key.Close();
</code></pre>
<p>und trag das Programm so in Autostart ein, aber warum funtzt das nicht ? Der Pfad der .exe steht schon im richtigen Ordner der Registry drin.<br />
Der Autostartordner ist doch : Software\\Microsoft\\Windows\\CurrentVersion\\Run<br />
?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1394562</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1394562</guid><dc:creator><![CDATA[toxor]]></dc:creator><pubDate>Tue, 30 Oct 2007 10:10:02 GMT</pubDate></item><item><title><![CDATA[Reply to Autostart geht nicht on Tue, 30 Oct 2007 10:20:11 GMT]]></title><description><![CDATA[<p>Und was hat der Code jetzt mit dem CShortCut-Zeiger zu tun, den du oben gesucht hast?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1394569</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1394569</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Tue, 30 Oct 2007 10:20:11 GMT</pubDate></item><item><title><![CDATA[Reply to Autostart geht nicht on Tue, 30 Oct 2007 10:26:52 GMT]]></title><description><![CDATA[<p>Ja nicht viel, das ist halt die andere Möglichkeit ein Prog in Autostart zu schreiben. Das mit der Klasse hab ich schon aufgegeben, ich kann dir da auch kein Code oder so zeigen, weil ich nicht weiss wo da das Problem ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1394576</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1394576</guid><dc:creator><![CDATA[toxor]]></dc:creator><pubDate>Tue, 30 Oct 2007 10:26:52 GMT</pubDate></item></channel></rss>