<?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[HOOK ??]]></title><description><![CDATA[<p>Kann mir mal bitte jemand erklären, was &quot;HOOKs&quot; sind, wie man mit ihnen umgeht und eventuell Codebeispiel.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/121956/hook</link><generator>RSS for Node</generator><lastBuildDate>Mon, 06 Jul 2026 03:51:36 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/121956.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 28 Sep 2005 19:14:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to HOOK ?? on Wed, 28 Sep 2005 19:14:38 GMT]]></title><description><![CDATA[<p>Kann mir mal bitte jemand erklären, was &quot;HOOKs&quot; sind, wie man mit ihnen umgeht und eventuell Codebeispiel.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/882443</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/882443</guid><dc:creator><![CDATA[Tc++H]]></dc:creator><pubDate>Wed, 28 Sep 2005 19:14:38 GMT</pubDate></item><item><title><![CDATA[Reply to HOOK ?? on Wed, 28 Sep 2005 19:32:42 GMT]]></title><description><![CDATA[<p><a href="http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/windowing/hooks.asp" rel="nofollow">http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/windowing/hooks.asp</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/882457</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/882457</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Wed, 28 Sep 2005 19:32:42 GMT</pubDate></item><item><title><![CDATA[Reply to HOOK ?? on Wed, 28 Sep 2005 21:30:13 GMT]]></title><description><![CDATA[<p>Wurde damals hier super beschrieben!!!<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-92249.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-92249.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/882541</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/882541</guid><dc:creator><![CDATA[guenni81]]></dc:creator><pubDate>Wed, 28 Sep 2005 21:30:13 GMT</pubDate></item><item><title><![CDATA[Reply to HOOK ?? on Sun, 02 Oct 2005 22:30:31 GMT]]></title><description><![CDATA[<p>in der faq wurde das mit den hooks ja ausführlich erklärt. aber ich habs trotzdem noch nicht ganz geschnallt, wie ich hooks in mein programm einbauen kann( ich habe borland c++ builder 6). wo muss ich die zeilen des beispieles der faq einfügen? und außerdem kann er die header datei &quot;stdafx.h&quot; nicht finden? hat vielleicht jemand noch ein (einfacheres) beispiel? oder kennt ne seite wo es vielleicht noch mal für totale noobs erklärt wird?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/884822</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/884822</guid><dc:creator><![CDATA[friedel15]]></dc:creator><pubDate>Sun, 02 Oct 2005 22:30:31 GMT</pubDate></item><item><title><![CDATA[Reply to HOOK ?? on Sun, 02 Oct 2005 22:31:36 GMT]]></title><description><![CDATA[<p>totale noobs beschäftigen sich nicht mit hooks.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/884823</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/884823</guid><dc:creator><![CDATA[feststellung]]></dc:creator><pubDate>Sun, 02 Oct 2005 22:31:36 GMT</pubDate></item><item><title><![CDATA[Reply to HOOK ?? on Sun, 02 Oct 2005 22:33:28 GMT]]></title><description><![CDATA[<p>stdafx sind nur die vorkompilierten header. den schrott kannste löschen und abschalten. das beispiel im faq wird zu einer dll, die du aus deinem programm laden kannst und den hook dann über die exportierte funktion SetupHook() installieren kannst.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/884824</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/884824</guid><dc:creator><![CDATA[R3000A]]></dc:creator><pubDate>Sun, 02 Oct 2005 22:33:28 GMT</pubDate></item><item><title><![CDATA[Reply to HOOK ?? on Mon, 03 Oct 2005 00:37:55 GMT]]></title><description><![CDATA[<p>Hier eine Kurzanleitung fuer Hooks:</p>
<ul>
<li>Hook-DLL erstellen, Hook-Event-Handler exportieren.</li>
<li>Im Hauptprogramm Hook-DLL laden (LoadLibrary()), mit GetProcAddress() die Adressen der Hook-Event-Handler ermitteln.</li>
<li>SetWindowsHookEx() aufrufen, um die Eventhandler zu registrieren.</li>
<li>Nicht vergessen, dass dann die Hook DLL in jedem Prozess geladen ist. Kommunikation z.B. ueber Shared Memory (FileMapping etc.) machen.</li>
<li>UnhookWindowsHookEx() aufrufen, um Eventhandler zu deregistrieren.</li>
<li>Hook DLL entladen (FreeLibrary())</li>
</ul>
<p><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/884857</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/884857</guid><dc:creator><![CDATA[Power Off]]></dc:creator><pubDate>Mon, 03 Oct 2005 00:37:55 GMT</pubDate></item></channel></rss>