<?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[Service&#x2F;Dienst programmieren]]></title><description><![CDATA[<p>Hay<br />
Wie schon gesagt, will ich ein Programm schreibes, was als Dienst automatisch startet, wenn Windows startet.<br />
Irgendwie bekomm ich es jedoch nicht hin..<br />
Ich bin erstmal oben auf Datei-&gt;Neu-&gt;Weitere-&gt;Service Anwendung gegangen.</p>
<p>Egal was oder wo ich hier etwas reinprogrammiere.. wenn ich das Programm ausführe beendet es sich gleich wieder.</p>
<p>Könnte mir da jemand irgendwie helfen? Vll bisl erklärn oder Beispielcode?<br />
Habe auch schon mit google gesucht, aber leider nichts zu dieser Methode gefunden.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/251331/service-dienst-programmieren</link><generator>RSS for Node</generator><lastBuildDate>Fri, 28 Aug 2026 13:33:39 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/251331.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 02 Oct 2009 21:39:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Service&#x2F;Dienst programmieren on Fri, 02 Oct 2009 21:39:59 GMT]]></title><description><![CDATA[<p>Hay<br />
Wie schon gesagt, will ich ein Programm schreibes, was als Dienst automatisch startet, wenn Windows startet.<br />
Irgendwie bekomm ich es jedoch nicht hin..<br />
Ich bin erstmal oben auf Datei-&gt;Neu-&gt;Weitere-&gt;Service Anwendung gegangen.</p>
<p>Egal was oder wo ich hier etwas reinprogrammiere.. wenn ich das Programm ausführe beendet es sich gleich wieder.</p>
<p>Könnte mir da jemand irgendwie helfen? Vll bisl erklärn oder Beispielcode?<br />
Habe auch schon mit google gesucht, aber leider nichts zu dieser Methode gefunden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1787508</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1787508</guid><dc:creator><![CDATA[SchweineKoenig]]></dc:creator><pubDate>Fri, 02 Oct 2009 21:39:59 GMT</pubDate></item><item><title><![CDATA[Reply to Service&#x2F;Dienst programmieren on Sat, 03 Oct 2009 09:31:32 GMT]]></title><description><![CDATA[<p>Hab sowas auch noch nicht gemacht.<br />
Aber.... schonmal probiert dort eine schleife reinzubauen, damit sich das Programm nicht schließt?</p>
<pre><code class="language-cpp">while (1)
{
    //warten auf gutes wetter und entsprechende sachen.
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1787573</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1787573</guid><dc:creator><![CDATA[o_O]]></dc:creator><pubDate>Sat, 03 Oct 2009 09:31:32 GMT</pubDate></item><item><title><![CDATA[Reply to Service&#x2F;Dienst programmieren on Sat, 03 Oct 2009 10:20:16 GMT]]></title><description><![CDATA[<p>hey ich danke dir es funktioniert <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>Wenn mir jetzt noch jemand sagen könnte wie ich den Service installieren (also so dass erjedesmal startet wenn Windows startet) und deinstalliern kann wär das Top <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1787588</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1787588</guid><dc:creator><![CDATA[SchweineKoenig]]></dc:creator><pubDate>Sat, 03 Oct 2009 10:20:16 GMT</pubDate></item><item><title><![CDATA[Reply to Service&#x2F;Dienst programmieren on Sat, 03 Oct 2009 10:21:32 GMT]]></title><description><![CDATA[<p><a href="http://www.google.de/search?q=winapi+service+tutorial" rel="nofollow">Service-Tutorial</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1787589</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1787589</guid><dc:creator><![CDATA[mad_martin]]></dc:creator><pubDate>Sat, 03 Oct 2009 10:21:32 GMT</pubDate></item><item><title><![CDATA[Reply to Service&#x2F;Dienst programmieren on Sat, 03 Oct 2009 15:06:52 GMT]]></title><description><![CDATA[<p>mad_martin schrieb:</p>
<blockquote>
<p><a href="http://www.google.de/search?q=winapi+service+tutorial" rel="nofollow">Service-Tutorial</a></p>
</blockquote>
<p>Bringt mich nicht wirklich weiter.. will ja nichts per Hand oder so in die Registry eintragen, sondern das Programm soll es von selbst erledigen.</p>
<p>Gibt es nicht einen simplen Befehl wie z.B: &quot;Service1-&gt;Install;&quot;?<br />
Weil es gibt ja auch die Prozeduren &quot;OnStart&quot; oder &quot;AfterInstall&quot;. Irgendwie muss es da doch etwas geben?!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1787689</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1787689</guid><dc:creator><![CDATA[SchweineKoenig]]></dc:creator><pubDate>Sat, 03 Oct 2009 15:06:52 GMT</pubDate></item><item><title><![CDATA[Reply to Service&#x2F;Dienst programmieren on Sat, 03 Oct 2009 15:49:23 GMT]]></title><description><![CDATA[<p>Einen simplen Befehl findest du nicht.</p>
<p><a href="http://msdn.microsoft.com/en-us/library/ms685150%28VS.85%29.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms685150(VS.85).aspx</a><br />
<a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;137890" rel="nofollow">http://support.microsoft.com/default.aspx?scid=kb;en-us;137890</a></p>
<p>Und ganz allgemein über die Entwicklung von Services:<br />
<a href="http://msdn.microsoft.com/en-us/library/ms685141%28VS.85%29.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms685141(VS.85).aspx</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1787701</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1787701</guid><dc:creator><![CDATA[mad_martin]]></dc:creator><pubDate>Sat, 03 Oct 2009 15:49:23 GMT</pubDate></item><item><title><![CDATA[Reply to Service&#x2F;Dienst programmieren on Sat, 03 Oct 2009 15:59:02 GMT]]></title><description><![CDATA[<p>SchweineKoenig schrieb:</p>
<blockquote>
<p>Gibt es nicht einen simplen Befehl wie z.B: &quot;Service1-&gt;Install;&quot;?</p>
</blockquote>
<p>ne, dass soll nicht jedes scriptkiddy können</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1787704</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1787704</guid><dc:creator><![CDATA[comeon]]></dc:creator><pubDate>Sat, 03 Oct 2009 15:59:02 GMT</pubDate></item><item><title><![CDATA[Reply to Service&#x2F;Dienst programmieren on Sat, 28 Aug 2010 20:53:27 GMT]]></title><description><![CDATA[<p>Hol dir bei Codeproject das entsprechende Snippet - dort gibt's ein Snippet mit dem du den Service einfach über das Starten der Exe installieren kannst.(Auch wieder Löschen etc... )<br />
Soltest du dort kein das passendes Snippet finden, kann ich ja noch mal ein meinem Fundus nachgucken</p>
<p><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/1945516</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1945516</guid><dc:creator><![CDATA[Sönke]]></dc:creator><pubDate>Sat, 28 Aug 2010 20:53:27 GMT</pubDate></item><item><title><![CDATA[Reply to Service&#x2F;Dienst programmieren on Sat, 28 Aug 2010 21:33:05 GMT]]></title><description><![CDATA[<p>Im (aktuellen) Windows SDK gibt es auch ein nettes Beispiel für die Programmierung eines Services:</p>
<p>&lt;SDK&gt;\Samples\Winbase\Service</p>
<p>Da ist alles drin.</p>
<p>Kann ich nur empfehlen!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1945526</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1945526</guid><dc:creator><![CDATA[While*true***]]></dc:creator><pubDate>Sat, 28 Aug 2010 21:33:05 GMT</pubDate></item></channel></rss>