<?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]]></title><description><![CDATA[<p>Hi ich hab mal wieder ne Frage zu der ich trotz Suchfunktion keine geeignete Antwort gefunden hab.</p>
<ol>
<li>
<p>Ich möchte das sich das Programm beim ersten Start in die Registry einträgt ( Pfad ist wohl : HKEY_LOCAL_MACHINE,&quot;Software\\Microsoft\\Windows\\CurrentVersion\\Run&quot;). Wie realisier ich so ein registry Eintrag ?</p>
</li>
<li>
<p>Kann ich einen Button auch simulieren lassen das er gedrückt wurde, ohne das er wirklich gedrückt worden ist ?</p>
</li>
</ol>
]]></description><link>https://www.c-plusplus.net/forum/topic/196004/autostart</link><generator>RSS for Node</generator><lastBuildDate>Thu, 09 Apr 2026 10:11:53 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/196004.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 24 Oct 2007 13:09:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Autostart on Wed, 24 Oct 2007 13:10:35 GMT]]></title><description><![CDATA[<p>Hi ich hab mal wieder ne Frage zu der ich trotz Suchfunktion keine geeignete Antwort gefunden hab.</p>
<ol>
<li>
<p>Ich möchte das sich das Programm beim ersten Start in die Registry einträgt ( Pfad ist wohl : HKEY_LOCAL_MACHINE,&quot;Software\\Microsoft\\Windows\\CurrentVersion\\Run&quot;). Wie realisier ich so ein registry Eintrag ?</p>
</li>
<li>
<p>Kann ich einen Button auch simulieren lassen das er gedrückt wurde, ohne das er wirklich gedrückt worden ist ?</p>
</li>
</ol>
]]></description><link>https://www.c-plusplus.net/forum/post/1391209</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1391209</guid><dc:creator><![CDATA[toxor]]></dc:creator><pubDate>Wed, 24 Oct 2007 13:10:35 GMT</pubDate></item><item><title><![CDATA[Reply to Autostart on Wed, 24 Oct 2007 13:15:06 GMT]]></title><description><![CDATA[<p>toxor schrieb:</p>
<blockquote>
<ol>
<li>Ich möchte das sich das Programm beim ersten Start in die Registry einträgt ( Pfad ist wohl : HKEY_LOCAL_MACHINE,&quot;Software\\Microsoft\\Windows\\CurrentVersion\\Run&quot;). Wie realisier ich so ein registry Eintrag ?</li>
</ol>
</blockquote>
<p>Schau dir mal in der MSDN die Registry-Funktionen RegOpenKey(), RegSetValue() etc an</p>
<blockquote>
<ol start="2">
<li>Kann ich einen Button auch simulieren lassen das er gedrückt wurde, ohne das er wirklich gedrückt worden ist ?</li>
</ol>
</blockquote>
<p>reicht es dir, wenn dein Programm glaubt, der Button wurde gedrückt? Dafür mußt du nur ein BN_CLICKED Kommando mit der passenden ID an deine Applikation schicken.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1391213</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1391213</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Wed, 24 Oct 2007 13:15:06 GMT</pubDate></item><item><title><![CDATA[Reply to Autostart on Wed, 24 Oct 2007 13:18:52 GMT]]></title><description><![CDATA[<p>Alles klar danke <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/1391214</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1391214</guid><dc:creator><![CDATA[toxor]]></dc:creator><pubDate>Wed, 24 Oct 2007 13:18:52 GMT</pubDate></item><item><title><![CDATA[Reply to Autostart on Wed, 24 Oct 2007 13:50:24 GMT]]></title><description><![CDATA[<p>Hätte da nochmal ne Frage zum zweiten.<br />
Also ich ruf mein Button nun automatisch auf ( CTimerDlg::OnBnClickedButton1(); ) , allerdings wird der Button zu schnell &quot;gedrückt&quot;. Kann ich das drücken irgendwie verzögern ? Hab gelesen das sleep(1000) zb das Programm kruz einschläft, bringt mir aber nix, nur das Klicken des Buttons sollte verzögert sein, geht sowas ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1391236</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1391236</guid><dc:creator><![CDATA[toxor]]></dc:creator><pubDate>Wed, 24 Oct 2007 13:50:24 GMT</pubDate></item><item><title><![CDATA[Reply to Autostart on Wed, 24 Oct 2007 13:54:16 GMT]]></title><description><![CDATA[<p>sleep finde ich persoenlich nicht so schoen, da friert ja das ganze programm ein</p>
<p>am besten du faehrst einen kleinen timer nebenher, dann kannst du gezielt sagen das nach einer bestimmten dauer etwas passieren soll ohne das der rest deiner applikation behindert wird</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1391242</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1391242</guid><dc:creator><![CDATA[EXDW]]></dc:creator><pubDate>Wed, 24 Oct 2007 13:54:16 GMT</pubDate></item></channel></rss>