<?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[unresolved external]]></title><description><![CDATA[<p>alao ich habe die suchfinktion schon benutzt, aber nichts brauchbares gefunden. weil den quelletext zu meinem programm habe ich aus einem buch abgeschrieben. trotzdem bekomme ich folgende fehlermeldung:</p>
<pre><code>--------------------Configuration: test - Win32 Debug--------------------
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/test.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

test.exe - 2 error(s), 0 warning(s)
</code></pre>
<p>der quelletext lautet:</p>
<pre><code>#define WIN32_LEAN_AND_MEAN
#include &lt;windows.h&gt;

int WINAPI main(HINSTANCE hinstance, HINSTANCE hprevinstance, LPSTR lpcmdline, int ncmdshow)
{
	MessageBox(0, &quot;Hallo Welt!&quot;, &quot;ein Fenster&quot;, MB_OK | MB_ICONEXCLAMATION);
	return 0;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/72812/unresolved-external</link><generator>RSS for Node</generator><lastBuildDate>Mon, 27 Apr 2026 14:21:50 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/72812.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 02 May 2004 18:47:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to unresolved external on Sun, 02 May 2004 18:47:29 GMT]]></title><description><![CDATA[<p>alao ich habe die suchfinktion schon benutzt, aber nichts brauchbares gefunden. weil den quelletext zu meinem programm habe ich aus einem buch abgeschrieben. trotzdem bekomme ich folgende fehlermeldung:</p>
<pre><code>--------------------Configuration: test - Win32 Debug--------------------
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/test.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

test.exe - 2 error(s), 0 warning(s)
</code></pre>
<p>der quelletext lautet:</p>
<pre><code>#define WIN32_LEAN_AND_MEAN
#include &lt;windows.h&gt;

int WINAPI main(HINSTANCE hinstance, HINSTANCE hprevinstance, LPSTR lpcmdline, int ncmdshow)
{
	MessageBox(0, &quot;Hallo Welt!&quot;, &quot;ein Fenster&quot;, MB_OK | MB_ICONEXCLAMATION);
	return 0;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/513054</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/513054</guid><dc:creator><![CDATA[nuclearspider]]></dc:creator><pubDate>Sun, 02 May 2004 18:47:29 GMT</pubDate></item><item><title><![CDATA[Reply to unresolved external on Sun, 02 May 2004 18:52:38 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=403" rel="nofollow">HumeSikkins</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=15" rel="nofollow">C++</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=1" rel="nofollow">MFC mit dem Visual C++</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/513057</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/513057</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Sun, 02 May 2004 18:52:38 GMT</pubDate></item><item><title><![CDATA[Reply to unresolved external on Sun, 02 May 2004 22:40:19 GMT]]></title><description><![CDATA[<p>WIN32 Anwendung:<br />
int WINAPI WinMain(HINSTANCE hinstance, HINSTANCE hprevinstance, LPSTR lpcmdline, int ncmdshow)</p>
<p>Konsolenanwendung:<br />
int main()</p>
<p>soll heissen du hast ne kreuzung zwischen den beiden erstellt die garnich existiert und versuchst sie in ner konsolenanwendung zu benutzen</p>
<p>entscheid dich für eins</p>
]]></description><link>https://www.c-plusplus.net/forum/post/513164</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/513164</guid><dc:creator><![CDATA[Sovok]]></dc:creator><pubDate>Sun, 02 May 2004 22:40:19 GMT</pubDate></item></channel></rss>