<?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[[S0rry] Detours Frage: Brauch die Library, Help!]]></title><description><![CDATA[<p>Hi,<br />
sorry wegen dem Post *in Deckung gehts*</p>
<p>Ich habe jetzt hier die Detours und da steht in er Doku das ich mir die .lib selber compelieren soll. Ich habe das auch mal versucht in dem ich ein leeres Projekt erstellt habe, alle Datein ins Projekt geladen habe und dann wollt ichs compilieren, aber irgendwie gings net. Dann hab ich im Betz nach einer schon bereit fertigen Compilation gesucht aber das sind alles die von der version 1.5 ich brqauch aber 2.1.<br />
Wer nett, wenn mir da noch mal wer helfen könnte.</p>
<p>Gruß Tobi.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/208547/s0rry-detours-frage-brauch-die-library-help</link><generator>RSS for Node</generator><lastBuildDate>Sat, 25 Apr 2026 03:57:45 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/208547.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 19 Mar 2008 14:48:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [S0rry] Detours Frage: Brauch die Library, Help! on Wed, 19 Mar 2008 14:48:47 GMT]]></title><description><![CDATA[<p>Hi,<br />
sorry wegen dem Post *in Deckung gehts*</p>
<p>Ich habe jetzt hier die Detours und da steht in er Doku das ich mir die .lib selber compelieren soll. Ich habe das auch mal versucht in dem ich ein leeres Projekt erstellt habe, alle Datein ins Projekt geladen habe und dann wollt ichs compilieren, aber irgendwie gings net. Dann hab ich im Betz nach einer schon bereit fertigen Compilation gesucht aber das sind alles die von der version 1.5 ich brqauch aber 2.1.<br />
Wer nett, wenn mir da noch mal wer helfen könnte.</p>
<p>Gruß Tobi.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1477331</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1477331</guid><dc:creator><![CDATA[T0bi]]></dc:creator><pubDate>Wed, 19 Mar 2008 14:48:47 GMT</pubDate></item><item><title><![CDATA[Reply to [S0rry] Detours Frage: Brauch die Library, Help! on Wed, 19 Mar 2008 17:23:59 GMT]]></title><description><![CDATA[<p>Ich hab' ein paar Fragen:</p>
<ul>
<li>Kannst du sinnverstehend lesen?</li>
<li>Kannst du den Windows Explorer öffnen und zum Installationsordner von Detours Express v2.1 navigieren?</li>
<li>Kannst du eine <code>.chm</code> durch Doppelklick öffnen?</li>
<li>Kannst du die FAQ lesen?</li>
<li>Findest du dort den Abschnitt &quot;Compiling with Detours Code&quot; und darin &quot;Where can I find detours.lib and detours.h&quot;?</li>
<li>Kannst du eine Shell öffnen, Visual Studio's <code>vcvarsall.bat</code> ausführen und ins <code>src</code> Verzeichnis der Detours Installation wechseln?</li>
<li>Kannst du dort <code>nmake</code> tippen und <code>Enter</code> drücken?</li>
</ul>
<p>An einem der genannten Punkte scheinst du zu scheitern. Mich würde brennend interessieren, an welchem. Bist du sicher, dass du mit Hooks spielen solltest, wenn dir einer dieser Schritte Probleme bereitet?</p>
<p>greetz, Swordfish</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1477423</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1477423</guid><dc:creator><![CDATA[Swordfish]]></dc:creator><pubDate>Wed, 19 Mar 2008 17:23:59 GMT</pubDate></item><item><title><![CDATA[Reply to [S0rry] Detours Frage: Brauch die Library, Help! on Wed, 19 Mar 2008 22:13:57 GMT]]></title><description><![CDATA[<p>Junge reg dich ab, deine ersten 5Punkte hab ich schon längst ausgefuehrt. Aller dings weiß ich net wie das mit den letzten beiden geht. Wahrscheinlich deswegen auch mein Post?!</p>
<p>Gruß Tobi.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1477555</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1477555</guid><dc:creator><![CDATA[T0bi]]></dc:creator><pubDate>Wed, 19 Mar 2008 22:13:57 GMT</pubDate></item><item><title><![CDATA[Reply to [S0rry] Detours Frage: Brauch die Library, Help! on Wed, 19 Mar 2008 22:19:05 GMT]]></title><description><![CDATA[<p>Ohne Worte...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1477556</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1477556</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Wed, 19 Mar 2008 22:19:05 GMT</pubDate></item><item><title><![CDATA[Reply to [S0rry] Detours Frage: Brauch die Library, Help! on Wed, 19 Mar 2008 22:23:18 GMT]]></title><description><![CDATA[<p>Wenn ich die bat ausführe bekomm ich jede menge objekt files aber keine .lib.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1477558</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1477558</guid><dc:creator><![CDATA[T0bi]]></dc:creator><pubDate>Wed, 19 Mar 2008 22:23:18 GMT</pubDate></item><item><title><![CDATA[Reply to [S0rry] Detours Frage: Brauch die Library, Help! on Wed, 19 Mar 2008 23:07:41 GMT]]></title><description><![CDATA[<p>*rofl* Comedy am Abend <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>
<p>greetz, Swordfish</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1477572</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1477572</guid><dc:creator><![CDATA[Swordfish]]></dc:creator><pubDate>Wed, 19 Mar 2008 23:07:41 GMT</pubDate></item><item><title><![CDATA[Reply to [S0rry] Detours Frage: Brauch die Library, Help! on Wed, 19 Mar 2008 23:11:27 GMT]]></title><description><![CDATA[<p>ja ich hab die vcvarsall.bat noch nie gebraucht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1477574</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1477574</guid><dc:creator><![CDATA[T0bi]]></dc:creator><pubDate>Wed, 19 Mar 2008 23:11:27 GMT</pubDate></item><item><title><![CDATA[Reply to [S0rry] Detours Frage: Brauch die Library, Help! on Wed, 19 Mar 2008 23:59:07 GMT]]></title><description><![CDATA[<p>Kann ich dann evtl. Hilfe von euch erwarten, im Bezug auf das Linkerproblem was auftritt, wenn ich versuche meinen Code zu compilieren?</p>
<pre><code>1&gt;------ Build started: Project: MyDLL, Configuration: Release Win32 ------
1&gt;Compiling...
1&gt;dllmain.cpp
1&gt;Linking...
1&gt;detours.lib(detours.obj) : error LNK2001: unresolved external symbol &quot;struct HINSTANCE__ * __stdcall Detoured(void)&quot; (?Detoured@@YGPAUHINSTANCE__@@XZ)
1&gt;C:\Dokumente und Einstellungen\Steiner\Eigene Dateien\Visual Studio 2008\Projects\DLLInjector\Release\MyDLL.dll : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
</code></pre>
<p>Gruß Tobi.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1477580</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1477580</guid><dc:creator><![CDATA[T0bi]]></dc:creator><pubDate>Wed, 19 Mar 2008 23:59:07 GMT</pubDate></item><item><title><![CDATA[Reply to [S0rry] Detours Frage: Brauch die Library, Help! on Thu, 20 Mar 2008 00:29:35 GMT]]></title><description><![CDATA[<p>Naja, ich schätze, du musst die <code>detours.lib</code> linken...</p>
<p>greetz, Swordfish</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1477583</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1477583</guid><dc:creator><![CDATA[Swordfish]]></dc:creator><pubDate>Thu, 20 Mar 2008 00:29:35 GMT</pubDate></item><item><title><![CDATA[Reply to [S0rry] Detours Frage: Brauch die Library, Help! on Thu, 20 Mar 2008 09:28:26 GMT]]></title><description><![CDATA[<p>hab ich:</p>
<pre><code class="language-cpp">#pragma comment( lib, &quot;detours.lib&quot; )
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1477648</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1477648</guid><dc:creator><![CDATA[T0bi]]></dc:creator><pubDate>Thu, 20 Mar 2008 09:28:26 GMT</pubDate></item><item><title><![CDATA[Reply to [S0rry] Detours Frage: Brauch die Library, Help! on Thu, 20 Mar 2008 11:38:27 GMT]]></title><description><![CDATA[<p>Na, bist du sicher, dass <code>Detoured( )</code> zur Detours API gehört? In meiner Doku steht auf jedenfall nichts davon. <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>
<p>greetz, Swordfish</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1477726</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1477726</guid><dc:creator><![CDATA[Swordfish]]></dc:creator><pubDate>Thu, 20 Mar 2008 11:38:27 GMT</pubDate></item><item><title><![CDATA[Reply to [S0rry] Detours Frage: Brauch die Library, Help! on Thu, 20 Mar 2008 11:45:06 GMT]]></title><description><![CDATA[<p>Aber ich habe nirgendwo eine Funktion Detoured( ) aufgerufen. Ich habe das gestern da mit nmake alles compiliert und die so entstandene library und header Datei in meinen Projektordner gepackt. die Header inkludiert und die library gelinkt, und dann rufe ich in der DLLMain nur das hier auf:</p>
<pre><code class="language-cpp">BOOL WINAPI DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) {

	switch ( ul_reason_for_call ) {

		case DLL_PROCESS_ATTACH: {

			DWORD dwPID = GetCurrentProcessId( );

			// ***** Look up for the process *****
			EnumWindows( EnumWindowsProc, dwPID );

			if( hWindow ) {

				DetourTransactionBegin( );
				DetourUpdateThread( GetCurrentThread( ) );
				DetourAttach( (PVOID*)lpOrigMsgBox, MyMessageBox );
				DetourTransactionCommit( );
			}
			break;
	    }

		case DLL_THREAD_ATTACH: {

			break;
	    }

		case DLL_THREAD_DETACH: {

			break;
	    }

		case DLL_PROCESS_DETACH: {

			break;
	    }
	}
	return TRUE;
}
</code></pre>
<p>Mehr nicht.</p>
<p>Gruß Tobi.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1477734</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1477734</guid><dc:creator><![CDATA[T0bi]]></dc:creator><pubDate>Thu, 20 Mar 2008 11:45:06 GMT</pubDate></item><item><title><![CDATA[Reply to [S0rry] Detours Frage: Brauch die Library, Help! on Thu, 20 Mar 2008 12:24:53 GMT]]></title><description><![CDATA[<p>Dann eben <code>detoured.lib</code> ...</p>
<p>greetz, Swordfish</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1477772</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1477772</guid><dc:creator><![CDATA[Swordfish]]></dc:creator><pubDate>Thu, 20 Mar 2008 12:24:53 GMT</pubDate></item><item><title><![CDATA[Reply to [S0rry] Detours Frage: Brauch die Library, Help! on Thu, 20 Mar 2008 12:40:29 GMT]]></title><description><![CDATA[<p>Wie, dann eben detoured.lib?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1477780</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1477780</guid><dc:creator><![CDATA[T0bi]]></dc:creator><pubDate>Thu, 20 Mar 2008 12:40:29 GMT</pubDate></item><item><title><![CDATA[Reply to [S0rry] Detours Frage: Brauch die Library, Help! on Thu, 20 Mar 2008 12:48:04 GMT]]></title><description><![CDATA[<p>Na dann linkst du eben noch zusätlich gegen die <code>detoured.lib</code> und deine Probleme sind gelöst. Ich sag' dazu jetzt nichts mehr.</p>
<p>greetz, Swordfish</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1477781</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1477781</guid><dc:creator><![CDATA[Swordfish]]></dc:creator><pubDate>Thu, 20 Mar 2008 12:48:04 GMT</pubDate></item><item><title><![CDATA[Reply to [S0rry] Detours Frage: Brauch die Library, Help! on Thu, 20 Mar 2008 13:55:05 GMT]]></title><description><![CDATA[<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="🙂"
    /> Man dankt.</p>
<p>Gruß Tobi.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1477824</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1477824</guid><dc:creator><![CDATA[T0bi]]></dc:creator><pubDate>Thu, 20 Mar 2008 13:55:05 GMT</pubDate></item></channel></rss>