<?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[im hintergrund | wenn eingabe dann...]]></title><description><![CDATA[<p>hallo,</p>
<p>dies prog soll im hintergrund laufn, und sobald man &quot;noob&quot; eingibt soll text.exe geöffnet werden, das tut es aber net, warum?</p>
<pre><code class="language-cpp">#include &quot;stdafx.h&quot;
#include &lt;windows.h&gt;

#include &lt;string&gt;
#include &lt;iostream&gt;

using namespace std;

string a;
int b = 1;

int APIENTRY WinMain(HINSTANCE hInstance,
                     HINSTANCE hPrevInstance,
                     LPSTR     lpCmdLine,
                     int       nCmdShow )
{
	MessageBox(NULL, &quot;oi&quot;, NULL, MB_OK);
 	// ZU ERLEDIGEN: Fügen Sie hier den Code ein.
	while(b&gt;=0)
    {
        b++;
    cin &gt;&gt; a;

    if (a ==&quot;noob&quot;)
    {
        system(&quot;test.exe&quot;);
    }
    }
	return 0;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/136631/im-hintergrund-wenn-eingabe-dann</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 14:29:59 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/136631.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 11 Feb 2006 22:38:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to im hintergrund | wenn eingabe dann... on Sat, 11 Feb 2006 22:38:59 GMT]]></title><description><![CDATA[<p>hallo,</p>
<p>dies prog soll im hintergrund laufn, und sobald man &quot;noob&quot; eingibt soll text.exe geöffnet werden, das tut es aber net, warum?</p>
<pre><code class="language-cpp">#include &quot;stdafx.h&quot;
#include &lt;windows.h&gt;

#include &lt;string&gt;
#include &lt;iostream&gt;

using namespace std;

string a;
int b = 1;

int APIENTRY WinMain(HINSTANCE hInstance,
                     HINSTANCE hPrevInstance,
                     LPSTR     lpCmdLine,
                     int       nCmdShow )
{
	MessageBox(NULL, &quot;oi&quot;, NULL, MB_OK);
 	// ZU ERLEDIGEN: Fügen Sie hier den Code ein.
	while(b&gt;=0)
    {
        b++;
    cin &gt;&gt; a;

    if (a ==&quot;noob&quot;)
    {
        system(&quot;test.exe&quot;);
    }
    }
	return 0;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/991931</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/991931</guid><dc:creator><![CDATA[maurer]]></dc:creator><pubDate>Sat, 11 Feb 2006 22:38:59 GMT</pubDate></item><item><title><![CDATA[Reply to im hintergrund | wenn eingabe dann... on Sat, 11 Feb 2006 22:49:40 GMT]]></title><description><![CDATA[<p>Allso erstmal um die Eingabe abzufangen auch wenn dein Programm im Hintergrund läuft bracuhst du eine Dll und ein art Keylogger (soweit ich weiß) außerdem woher hast du den source?? Sieht mir sehr unlogisch aus.<br />
mfg Maxmann</p>
]]></description><link>https://www.c-plusplus.net/forum/post/991933</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/991933</guid><dc:creator><![CDATA[Maxmann]]></dc:creator><pubDate>Sat, 11 Feb 2006 22:49:40 GMT</pubDate></item><item><title><![CDATA[Reply to im hintergrund | wenn eingabe dann... on Sun, 12 Feb 2006 09:56:14 GMT]]></title><description><![CDATA[<p>source is selber gemacht <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
<p>und wie mach ich das?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/992027</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/992027</guid><dc:creator><![CDATA[maurer]]></dc:creator><pubDate>Sun, 12 Feb 2006 09:56:14 GMT</pubDate></item><item><title><![CDATA[Reply to im hintergrund | wenn eingabe dann... on Sun, 12 Feb 2006 15:20:16 GMT]]></title><description><![CDATA[<p>Mit einem Message Hook sollte es gehen. Das ist aber dafür ziemlich auswändig.<br />
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/hooks/abouthooks.asp" rel="nofollow">Hier</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/992344</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/992344</guid><dc:creator><![CDATA[Byte]]></dc:creator><pubDate>Sun, 12 Feb 2006 15:20:16 GMT</pubDate></item><item><title><![CDATA[Reply to im hintergrund | wenn eingabe dann... on Mon, 13 Feb 2006 13:43:45 GMT]]></title><description><![CDATA[<p>ich hab folgenden source:</p>
<pre><code class="language-cpp">#include &lt;cstdlib&gt;
#include &lt;iostream&gt;
#include &lt;iostream.h&gt;
#include &lt;windows.h&gt;

using namespace std;

int keylog()
{
        SHORT KeyState;
  SHORT ArrKeyState[256];
  long CheckSum;
  long OldCheckSum;

  OldCheckSum = 987654;          // dummy

  while (1)
  {
    CheckSum = 0;
    for (int i = 0; i &lt; 256; i++)
    {
      KeyState = GetAsyncKeyState(i);
      CheckSum += KeyState;
      ArrKeyState[i] = KeyState;

    }

    if (OldCheckSum != CheckSum)
    {

      for (int i = 0; i &lt; 256; i++)
      {
        // -32767 = KeyDown
        if (ArrKeyState[i] == -32767)

        {
          cout &lt;&lt; &quot;Key &quot; &lt;&lt; i &lt;&lt; &quot; pressed. (&quot; &lt;&lt; (char) i &lt;&lt; &quot;)&quot; &lt;&lt; endl;

          if (i==78)
          {

                      {

    CheckSum = 0;
    for (int i = 0; i &lt; 256; i++)
    {
      KeyState = GetAsyncKeyState(i);
      CheckSum += KeyState;
      ArrKeyState[i] = KeyState;

    }

    if (OldCheckSum != CheckSum)
    {

      for (int i = 0; i &lt; 256; i++)
      {
        // -32767 = KeyDown
        if (ArrKeyState[i] == -32767)

        {
          cout &lt;&lt; &quot;Key &quot; &lt;&lt; i &lt;&lt; &quot; pressed. (&quot; &lt;&lt; (char) i &lt;&lt; &quot;)&quot; &lt;&lt; endl;

          if (i==79)
          {

                      {
    CheckSum = 0;
    for (int i = 0; i &lt; 256; i++)
    {
      KeyState = GetAsyncKeyState(i);
      CheckSum += KeyState;
      ArrKeyState[i] = KeyState;

    }

    if (OldCheckSum != CheckSum)
    {

      for (int i = 0; i &lt; 256; i++)
      {
        // -32767 = KeyDown
        if (ArrKeyState[i] == -32767)

        {
          cout &lt;&lt; &quot;Key &quot; &lt;&lt; i &lt;&lt; &quot; pressed. (&quot; &lt;&lt; (char) i &lt;&lt; &quot;)&quot; &lt;&lt; endl;

          if (i==79)
          {

                      {
    CheckSum = 0;
    for (int i = 0; i &lt; 256; i++)
    {
      KeyState = GetAsyncKeyState(i);
      CheckSum += KeyState;
      ArrKeyState[i] = KeyState;

    }

    if (OldCheckSum != CheckSum)
    {

      for (int i = 0; i &lt; 256; i++)
      {
        // -32767 = KeyDown
        if (ArrKeyState[i] == -32767)

        {
          cout &lt;&lt; &quot;Key &quot; &lt;&lt; i &lt;&lt; &quot; pressed. (&quot; &lt;&lt; (char) i &lt;&lt; &quot;)&quot; &lt;&lt; endl;

          if (i==66)
          {
                    cout &lt;&lt; &quot;moep&quot;;
                    }

        }
      }
    }
    OldCheckSum = CheckSum;
  }

}

        }
      }
    }
    OldCheckSum = CheckSum;
  }

}

        }
      }
    }
    OldCheckSum = CheckSum;
  }

}

        }
      }
    }
    OldCheckSum = CheckSum;
  }
  return EXIT_SUCCESS;
}

int main(int argc, char *argv[])
{
    keylog();

return EXIT_SUCCESS;
}
</code></pre>
<p>aber der funzt nicht, wenn man &quot;noob&quot; eingibt soll &quot;moep&quot; kommen...</p>
<p>die buchstaben noob sind folgende zahlen: 78, 79, 79, 66</p>
]]></description><link>https://www.c-plusplus.net/forum/post/993075</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/993075</guid><dc:creator><![CDATA[maurer]]></dc:creator><pubDate>Mon, 13 Feb 2006 13:43:45 GMT</pubDate></item></channel></rss>