<?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[Debugging information corrupt; recompile module]]></title><description><![CDATA[<p>Wie der titel schon sagt bekomm ich am ende folgende Fehlermeldung:</p>
<blockquote>
<p>Linking...<br />
detours.lib(creatwth.obj) : fatal error LNK1103: debugging information corrupt; recompile module<br />
Error executing link.exe.</p>
</blockquote>
<pre><code>#include &lt;windows.h&gt;
#include &lt;stdio.h&gt;
#include &lt;stdlib.h&gt;
#include &lt;detours.h&gt;

int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nShowCmd)

{

   char szTargetCommand[]      = &quot;any&quot;;
   char szTargetApp[]      = &quot;any&quot;;
   char szTargetFolder[]      = &quot;any&quot;;

   char szUseLibrary[MAX_PATH];
   _fullpath(szUseLibrary, &quot;Hook.dll&quot;, MAX_PATH);

   SetCurrentDirectory(szTargetFolder);

   STARTUPINFO         si;   ZeroMemory( &amp;si, sizeof(si) );
   PROCESS_INFORMATION   pi;   ZeroMemory( &amp;pi, sizeof(pi) );
   si.cb = sizeof(si);
	if(!DetourCreateProcessWithDll(   szTargetApp, szTargetCommand, 0, 0, TRUE, CREATE_DEFAULT_ERROR_MODE|CREATE_NEW_CONSOLE, NULL, szTargetFolder,&amp;si, &amp;pi, szUseLibrary, 0)) {
      printf(&quot;Loader.exe: DetourCreateProcessWithDll failed: %d\n&quot;, GetLastError());
      return 0;
       }
   printf(&quot;Injection Successful. Will exit when target exits.\n&quot;);

   WaitForSingleObject(pi.hProcess, INFINITE);
   printf(&quot;Target Ended.\n&quot;);

   return 0;

}
</code></pre>
<p>Kann mir einer sagen wie ich das Problem beheben kann? Hab schon ne weile gegooglt, ohne Ergebniss :(.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/139518/debugging-information-corrupt-recompile-module</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Jul 2026 12:32:30 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/139518.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 07 Mar 2006 11:52:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Debugging information corrupt; recompile module on Tue, 07 Mar 2006 11:52:13 GMT]]></title><description><![CDATA[<p>Wie der titel schon sagt bekomm ich am ende folgende Fehlermeldung:</p>
<blockquote>
<p>Linking...<br />
detours.lib(creatwth.obj) : fatal error LNK1103: debugging information corrupt; recompile module<br />
Error executing link.exe.</p>
</blockquote>
<pre><code>#include &lt;windows.h&gt;
#include &lt;stdio.h&gt;
#include &lt;stdlib.h&gt;
#include &lt;detours.h&gt;

int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nShowCmd)

{

   char szTargetCommand[]      = &quot;any&quot;;
   char szTargetApp[]      = &quot;any&quot;;
   char szTargetFolder[]      = &quot;any&quot;;

   char szUseLibrary[MAX_PATH];
   _fullpath(szUseLibrary, &quot;Hook.dll&quot;, MAX_PATH);

   SetCurrentDirectory(szTargetFolder);

   STARTUPINFO         si;   ZeroMemory( &amp;si, sizeof(si) );
   PROCESS_INFORMATION   pi;   ZeroMemory( &amp;pi, sizeof(pi) );
   si.cb = sizeof(si);
	if(!DetourCreateProcessWithDll(   szTargetApp, szTargetCommand, 0, 0, TRUE, CREATE_DEFAULT_ERROR_MODE|CREATE_NEW_CONSOLE, NULL, szTargetFolder,&amp;si, &amp;pi, szUseLibrary, 0)) {
      printf(&quot;Loader.exe: DetourCreateProcessWithDll failed: %d\n&quot;, GetLastError());
      return 0;
       }
   printf(&quot;Injection Successful. Will exit when target exits.\n&quot;);

   WaitForSingleObject(pi.hProcess, INFINITE);
   printf(&quot;Target Ended.\n&quot;);

   return 0;

}
</code></pre>
<p>Kann mir einer sagen wie ich das Problem beheben kann? Hab schon ne weile gegooglt, ohne Ergebniss :(.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1010439</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1010439</guid><dc:creator><![CDATA[Manfredo]]></dc:creator><pubDate>Tue, 07 Mar 2006 11:52:13 GMT</pubDate></item><item><title><![CDATA[Reply to Debugging information corrupt; recompile module on Tue, 07 Mar 2006 12:01:28 GMT]]></title><description><![CDATA[<p>Hat sich erledigt. Habs im release modus laufen lassen und dann gings. Aber wieso funktionierts nicht im debug modus?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1010449</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1010449</guid><dc:creator><![CDATA[Manfredo]]></dc:creator><pubDate>Tue, 07 Mar 2006 12:01:28 GMT</pubDate></item></channel></rss>