<?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[Hooks+CreateProcess]]></title><description><![CDATA[<p>Hi</p>
<p>Wenn ich in einem Programm ein anderes mit CreateProcess aufrufe, kann ich dann bei dem aufgerufenen einfach so einen Hook installieren oder muss ich das trotzdem über eine .dll machen?</p>
<p>beginner_</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/119910/hooks-createprocess</link><generator>RSS for Node</generator><lastBuildDate>Sun, 05 Jul 2026 03:22:57 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/119910.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 06 Sep 2005 21:56:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Hooks+CreateProcess on Tue, 06 Sep 2005 21:56:55 GMT]]></title><description><![CDATA[<p>Hi</p>
<p>Wenn ich in einem Programm ein anderes mit CreateProcess aufrufe, kann ich dann bei dem aufgerufenen einfach so einen Hook installieren oder muss ich das trotzdem über eine .dll machen?</p>
<p>beginner_</p>
]]></description><link>https://www.c-plusplus.net/forum/post/866644</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/866644</guid><dc:creator><![CDATA[beginner_]]></dc:creator><pubDate>Tue, 06 Sep 2005 21:56:55 GMT</pubDate></item><item><title><![CDATA[Reply to Hooks+CreateProcess on Tue, 06 Sep 2005 22:27:28 GMT]]></title><description><![CDATA[<p>1.: gehört eigentlich in die WInapi sry, bitte moven</p>
<p>2.: ich hab probiert einen hook zu installieren bei einem Programm das ich mit CreateProcess aufruf(zur Probe einfach mal Notepad) aber SetWindowsHookEx gibt immer NULL zurück...</p>
<p>beginner_</p>
]]></description><link>https://www.c-plusplus.net/forum/post/866648</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/866648</guid><dc:creator><![CDATA[beginner_]]></dc:creator><pubDate>Tue, 06 Sep 2005 22:27:28 GMT</pubDate></item><item><title><![CDATA[Reply to Hooks+CreateProcess on Tue, 06 Sep 2005 22:36:08 GMT]]></title><description><![CDATA[<p>sorry für den Dreifachpost, aber hier den Code den ich verwende:</p>
<pre><code class="language-cpp">STARTUPINFO si;
    PROCESS_INFORMATION pi;

    ZeroMemory( &amp;si, sizeof(si) );
    si.cb = sizeof(si);
    ZeroMemory( &amp;pi, sizeof(pi) );
	CreateProcess(&quot;C:\\WINDOWS\\system32\\notepad.exe&quot;,   (
        NULL, 
        NULL,            
        NULL,             
        FALSE,            
        0,                
        NULL,             
        NULL,             
        &amp;si,              
        &amp;pi );       
		Sleep(2500);        //sicher gehen das das Programm auch gestartet is

	HHOOK handleHook;  

        if(SetWindowsHookEx(WH_KEYBOARD, &amp;KeyboardProc, NULL, pi.dwThreadId)==NULL)         //sieht selbstverständlich nur zu testzwecken so aus^^
	std::cout&lt;&lt;&quot;nicht geklappt\n&quot;;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/866653</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/866653</guid><dc:creator><![CDATA[beginner_]]></dc:creator><pubDate>Tue, 06 Sep 2005 22:36:08 GMT</pubDate></item><item><title><![CDATA[Reply to Hooks+CreateProcess on Tue, 06 Sep 2005 23:39:30 GMT]]></title><description><![CDATA[<p>Nope das geht nicht, KeyboardProc befindet sich ja nicht im Adressraum von deinem Notepad Prozeß.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/866676</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/866676</guid><dc:creator><![CDATA[Gerrit]]></dc:creator><pubDate>Tue, 06 Sep 2005 23:39:30 GMT</pubDate></item><item><title><![CDATA[Reply to Hooks+CreateProcess on Wed, 07 Sep 2005 04:21:09 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile.php?mode=viewprofile&amp;u=275" rel="nofollow">Unix-Tom</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=1" rel="nofollow">MFC (Visual C++)</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=4" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39405" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/866690</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/866690</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Wed, 07 Sep 2005 04:21:09 GMT</pubDate></item></channel></rss>