<?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[Wieder läuft ein Programm nicht auf Fremdsystemen ...]]></title><description><![CDATA[<p>Hallo, mein Tool (nur ein *.exe-File) ist ein reines WinAPI-Programm. Bei mir läuft es natürlich, aber auf 2 anderen Computern (bei meinen Freunden) läuft es nicht. Alle 3 (inkl. meins) Systeme laufen mit Windows XP. Folgender Fehler:</p>
<blockquote>
<p>Diese Anwendung konnte nicht gestartet werden, weil die Anwendungskonfiguration nicht korrekt ist. Zur Problembehebung sollten sie die Anwendung neu installieren.</p>
</blockquote>
<p>Was muss ich entweder mitliefern, oder was muss ich in den Projekt/Compiler-Settings einstellen/umstellen, damit es auch auf Fremdsystemen läuft? Ich benutze derzeit VS2008 Pro Ed. und habe als Release-version kompiliert. Wenn ihr mehr Infos braucht sagt &quot;bescheid&quot; <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/topic/217663/wieder-läuft-ein-programm-nicht-auf-fremdsystemen</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 09:22:50 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/217663.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 Jul 2008 17:14:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Wieder läuft ein Programm nicht auf Fremdsystemen ... on Wed, 09 Jul 2008 17:14:13 GMT]]></title><description><![CDATA[<p>Hallo, mein Tool (nur ein *.exe-File) ist ein reines WinAPI-Programm. Bei mir läuft es natürlich, aber auf 2 anderen Computern (bei meinen Freunden) läuft es nicht. Alle 3 (inkl. meins) Systeme laufen mit Windows XP. Folgender Fehler:</p>
<blockquote>
<p>Diese Anwendung konnte nicht gestartet werden, weil die Anwendungskonfiguration nicht korrekt ist. Zur Problembehebung sollten sie die Anwendung neu installieren.</p>
</blockquote>
<p>Was muss ich entweder mitliefern, oder was muss ich in den Projekt/Compiler-Settings einstellen/umstellen, damit es auch auf Fremdsystemen läuft? Ich benutze derzeit VS2008 Pro Ed. und habe als Release-version kompiliert. Wenn ihr mehr Infos braucht sagt &quot;bescheid&quot; <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/1544464</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1544464</guid><dc:creator><![CDATA[FürJedeHilfeDankbar]]></dc:creator><pubDate>Wed, 09 Jul 2008 17:14:13 GMT</pubDate></item><item><title><![CDATA[Reply to Wieder läuft ein Programm nicht auf Fremdsystemen ... on Wed, 09 Jul 2008 17:35:04 GMT]]></title><description><![CDATA[<p>Wieder muss ich mal meinen Link posten:<br />
<a href="http://blog.kalmbach-software.de/de/2008/03/05/wie-man-statisch-gegen-die-c-runtime-crt-linkt/" rel="nofollow">http://blog.kalmbach-software.de/de/2008/03/05/wie-man-statisch-gegen-die-c-runtime-crt-linkt/</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1544482</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1544482</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Wed, 09 Jul 2008 17:35:04 GMT</pubDate></item><item><title><![CDATA[Reply to Wieder läuft ein Programm nicht auf Fremdsystemen ... on Wed, 09 Jul 2008 19:45:30 GMT]]></title><description><![CDATA[<p>Wenn ich das genauso mache wie beschrieben, dann bekomme ich super viele Fehler:</p>
<pre><code>1&gt;Main.obj : error LNK2001: unresolved external symbol __imp__DispatchMessageW@4
1&gt;Main.obj : error LNK2001: unresolved external symbol __imp__CreateSolidBrush@4
1&gt;Main.obj : error LNK2001: unresolved external symbol __imp__GetWindowThreadProcessId@8
1&gt;Main.obj : error LNK2001: unresolved external symbol __imp__DefWindowProcW@16
1&gt;Main.obj : error LNK2001: unresolved external symbol __imp__OpenProcessToken@12
1&gt;Main.obj : error LNK2001: unresolved external symbol __imp__SetWindowTextW@8
1&gt;Main.obj : error LNK2001: unresolved external symbol __imp__SendMessageW@16
1&gt;Main.obj : error LNK2001: unresolved external symbol __imp__GetSystemMetrics@4
1&gt;Main.obj : error LNK2001: unresolved external symbol __imp__MessageBoxW@16
1&gt;Main.obj : error LNK2001: unresolved external symbol __imp__CreateWindowExW@48
1&gt;Main.obj : error LNK2001: unresolved external symbol __imp__ShowWindow@8
1&gt;Main.obj : error LNK2001: unresolved external symbol __imp__GetWindowLongW@8
1&gt;Main.obj : error LNK2001: unresolved external symbol __imp__LoadIconW@8
1&gt;Main.obj : error LNK2001: unresolved external symbol __imp__RegisterClassExW@4
1&gt;Main.obj : error LNK2001: unresolved external symbol __imp__LookupPrivilegeValueW@12
1&gt;Main.obj : error LNK2001: unresolved external symbol __imp__TranslateMessage@4
1&gt;Main.obj : error LNK2001: unresolved external symbol __imp__SetBkMode@8
1&gt;Main.obj : error LNK2001: unresolved external symbol __imp__FindWindowW@8
1&gt;Main.obj : error LNK2001: unresolved external symbol __imp__LoadCursorW@8
1&gt;Main.obj : error LNK2001: unresolved external symbol __imp__SetTextColor@8
1&gt;Main.obj : error LNK2001: unresolved external symbol __imp__PostQuitMessage@4
1&gt;Main.obj : error LNK2001: unresolved external symbol __imp__GetMessageW@16
1&gt;Main.obj : error LNK2001: unresolved external symbol __imp__AdjustTokenPrivileges@24
</code></pre>
<p>Woran kann das jetzt noch liegen? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1544560</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1544560</guid><dc:creator><![CDATA[FürJedeHilfeDankbar]]></dc:creator><pubDate>Wed, 09 Jul 2008 19:45:30 GMT</pubDate></item><item><title><![CDATA[Reply to Wieder läuft ein Programm nicht auf Fremdsystemen ... on Wed, 09 Jul 2008 20:14:11 GMT]]></title><description><![CDATA[<p>Das hat damit nichts zu tun, sondern Du vergisst die passende LIB dazu zu linken...</p>
<pre><code class="language-cpp">#pragma comment(lib, &quot;user32.lib&quot;)
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1544573</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1544573</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Wed, 09 Jul 2008 20:14:11 GMT</pubDate></item><item><title><![CDATA[Reply to Wieder läuft ein Programm nicht auf Fremdsystemen ... on Wed, 09 Jul 2008 21:19:32 GMT]]></title><description><![CDATA[<p>Und wieso lief es vorher ohne diese zeile?</p>
<p>Mit dieser zeile bekomme ich immer noch ein paar dieser Fehler ...</p>
<pre><code>1&gt;Main.obj : error LNK2019: unresolved external symbol __imp__CreateSolidBrush@4 referenced in function &quot;long __stdcall WindowProc(struct HWND__ *,unsigned int,unsigned int,long)&quot; (?WindowProc@@YGJPAUHWND__@@IIJ@Z)
1&gt;Main.obj : error LNK2019: unresolved external symbol __imp__SetTextColor@8 referenced in function &quot;long __stdcall WindowProc(struct HWND__ *,unsigned int,unsigned int,long)&quot; (?WindowProc@@YGJPAUHWND__@@IIJ@Z)
1&gt;Main.obj : error LNK2019: unresolved external symbol __imp__SetBkMode@8 referenced in function &quot;long __stdcall WindowProc(struct HWND__ *,unsigned int,unsigned int,long)&quot; (?WindowProc@@YGJPAUHWND__@@IIJ@Z)
1&gt;Main.obj : error LNK2019: unresolved external symbol __imp__AdjustTokenPrivileges@24 referenced in function &quot;void __cdecl EnableDebugPriv(void)&quot; (?EnableDebugPriv@@YAXXZ)
1&gt;Main.obj : error LNK2019: unresolved external symbol __imp__LookupPrivilegeValueW@12 referenced in function &quot;void __cdecl EnableDebugPriv(void)&quot; (?EnableDebugPriv@@YAXXZ)
1&gt;Main.obj : error LNK2019: unresolved external symbol __imp__OpenProcessToken@12 referenced in function &quot;void __cdecl EnableDebugPriv(void)&quot; (?EnableDebugPriv@@YAXXZ)
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1544597</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1544597</guid><dc:creator><![CDATA[FürJedeHilfeDankbar]]></dc:creator><pubDate>Wed, 09 Jul 2008 21:19:32 GMT</pubDate></item><item><title><![CDATA[Reply to Wieder läuft ein Programm nicht auf Fremdsystemen ... on Wed, 09 Jul 2008 21:53:07 GMT]]></title><description><![CDATA[<p>Fehlen noch:</p>
<pre><code class="language-cpp">#pragma comment(lib, &quot;gdi32.lib&quot;)
#pragma comment(lib, &quot;advapi32.lib&quot;)
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1544608</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1544608</guid><dc:creator><![CDATA[pragmachaos]]></dc:creator><pubDate>Wed, 09 Jul 2008 21:53:07 GMT</pubDate></item><item><title><![CDATA[Reply to Wieder läuft ein Programm nicht auf Fremdsystemen ... on Wed, 09 Jul 2008 21:57:45 GMT]]></title><description><![CDATA[<p>Noch einer übrig:</p>
<pre><code>1&gt;LIBCMT.lib(wwincrt0.obj) : error LNK2019: unresolved external symbol _wWinMain@16 referenced in function ___tmainCRTStartup
</code></pre>
<p>Was muss ich nun noch linken und warum musste ich es bei der DLL-Variante der CRT nicht?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1544610</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1544610</guid><dc:creator><![CDATA[FürJedeHilfeDankbar]]></dc:creator><pubDate>Wed, 09 Jul 2008 21:57:45 GMT</pubDate></item><item><title><![CDATA[Reply to Wieder läuft ein Programm nicht auf Fremdsystemen ... on Thu, 10 Jul 2008 11:04:59 GMT]]></title><description><![CDATA[<p>Ich würde sagen: Du hast einfach in den Projekteinstellungen viel zu viel geändrt!!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1544905</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1544905</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Thu, 10 Jul 2008 11:04:59 GMT</pubDate></item><item><title><![CDATA[Reply to Wieder läuft ein Programm nicht auf Fremdsystemen ... on Thu, 10 Jul 2008 11:30:20 GMT]]></title><description><![CDATA[<p>Nein, ich habe extra eben nochmal ein ganz frisches Projekt (also Default Einstellungen) angelegt. Neue SourceFile hinzugefügt, Quelltext aus anderem Projekt kopiert, fertig! Compiliert, funktioniert fehlerfrei. Dann GENAU das gemacht, was du in deinem Video machst und compiliert (25 fehler, wie gehabt), die 3 von euch genannten Libs hinzugefügt, noch dieser eine Fehler siehe oben (wie gehabt).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1544931</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1544931</guid><dc:creator><![CDATA[FürJedeHilfeDankbar]]></dc:creator><pubDate>Thu, 10 Jul 2008 11:30:20 GMT</pubDate></item><item><title><![CDATA[Reply to Wieder läuft ein Programm nicht auf Fremdsystemen ... on Thu, 10 Jul 2008 12:18:34 GMT]]></title><description><![CDATA[<p>Ich glaube, das Problem hat sich erledigt, falls nicht werde ich mich wieder melden. Ich glaube es lag daran, das ich statisch gegen die ATL und MFC gelinkt habe, obwohl ich die gar nicht benutze. Das ist in deinem Video sehr verwirred Jochen .. du sagst nämlich, dass du da was umstellst, tust es aber nicht. Danke jedenfalls schonmal. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1544991</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1544991</guid><dc:creator><![CDATA[FürJedeHilfeDankbar]]></dc:creator><pubDate>Thu, 10 Jul 2008 12:18:34 GMT</pubDate></item></channel></rss>