<?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[error LNK2001: Nichtaufgeloestes externes Symbol _fnmerge]]></title><description><![CDATA[<p>Hallo!</p>
<p>Ich habe folgendes Problem mit einer Fehlermeldung.</p>
<p>Mein Source code sieht etwa so aus.</p>
<p>#include &lt;windows.h&gt;<br />
#include &lt;stdio.h&gt;<br />
#include &lt;dir.h&gt;<br />
#include &lt;dos.h&gt;<br />
#include &lt;math.h&gt;<br />
#include &lt;string.h&gt;</p>
<p>...<br />
...<br />
...</p>
<p>static char szDrive[MAXDRIVE], szDir[MAXDIR], szName[MAXFILE], szExt[MAXEXT] ;</p>
<p>...<br />
...<br />
...</p>
<p>fnsplit(ofn.lpstrFile, szDrive, szDir, szName, szExt) ;</p>
<p>...<br />
...<br />
...</p>
<p>fnmerge (ofn.lpstrFile, szDrive, szDir, szName, szExt) ;<br />
fnmerge (ofn.lpstrFileTitle, NULL, NULL, szName, szExt) ;</p>
<p>Was folgenden Fehler erzeugt:</p>
<p>ace.obj : error LNK2001: Nichtaufgeloestes externes Symbol _fnmerge<br />
ace.obj : error LNK2001: Nichtaufgeloestes externes Symbol _fnsplit<br />
Debug/aceorg2.exe : fatal error LNK1120: 2 unaufgeloeste externe Verweise<br />
Fehler beim Ausführen von link.exe.</p>
<p>Ich muß dazu sagen, das der Source Code in BCB5 erstellt wurde und ich jetzt versuche das Programm unter MS Visual c++ 6 zum laufen zu bringen.</p>
<p>Wo liegt der Fehler?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/82422/error-lnk2001-nichtaufgeloestes-externes-symbol-_fnmerge</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 23:24:29 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/82422.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 11 Aug 2004 07:49:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to error LNK2001: Nichtaufgeloestes externes Symbol _fnmerge on Wed, 11 Aug 2004 07:49:13 GMT]]></title><description><![CDATA[<p>Hallo!</p>
<p>Ich habe folgendes Problem mit einer Fehlermeldung.</p>
<p>Mein Source code sieht etwa so aus.</p>
<p>#include &lt;windows.h&gt;<br />
#include &lt;stdio.h&gt;<br />
#include &lt;dir.h&gt;<br />
#include &lt;dos.h&gt;<br />
#include &lt;math.h&gt;<br />
#include &lt;string.h&gt;</p>
<p>...<br />
...<br />
...</p>
<p>static char szDrive[MAXDRIVE], szDir[MAXDIR], szName[MAXFILE], szExt[MAXEXT] ;</p>
<p>...<br />
...<br />
...</p>
<p>fnsplit(ofn.lpstrFile, szDrive, szDir, szName, szExt) ;</p>
<p>...<br />
...<br />
...</p>
<p>fnmerge (ofn.lpstrFile, szDrive, szDir, szName, szExt) ;<br />
fnmerge (ofn.lpstrFileTitle, NULL, NULL, szName, szExt) ;</p>
<p>Was folgenden Fehler erzeugt:</p>
<p>ace.obj : error LNK2001: Nichtaufgeloestes externes Symbol _fnmerge<br />
ace.obj : error LNK2001: Nichtaufgeloestes externes Symbol _fnsplit<br />
Debug/aceorg2.exe : fatal error LNK1120: 2 unaufgeloeste externe Verweise<br />
Fehler beim Ausführen von link.exe.</p>
<p>Ich muß dazu sagen, das der Source Code in BCB5 erstellt wurde und ich jetzt versuche das Programm unter MS Visual c++ 6 zum laufen zu bringen.</p>
<p>Wo liegt der Fehler?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/579617</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/579617</guid><dc:creator><![CDATA[mathi0879]]></dc:creator><pubDate>Wed, 11 Aug 2004 07:49:13 GMT</pubDate></item><item><title><![CDATA[Reply to error LNK2001: Nichtaufgeloestes externes Symbol _fnmerge on Wed, 11 Aug 2004 08:03:19 GMT]]></title><description><![CDATA[<p>ich vermute, der borland benutzte das fnsplit aus der dir.h</p>
<p>wie du siehst, ist es nicht portable, kein standard.</p>
<p>für das studio musst du dann gleichwertiges suchen...richtung msdn und winapi schaun.</p>
<pre><code>#include &lt;dir.h&gt;

int fnsplit (const char *path, char *drive, char *dir, 
		char *name, char *ext);

Description 
This function decomposes a path into its components. It is smart enough to 
know that . and .. are directories, and that file names with a leading dot, like `.emacs', are not all extensions. 

The drive, dir, name and ext arguments should all be passed, but some or even 
all of them might be NULL pointers. Those of them which are non-NULL should 
point to buffers which have enough room for the strings they would hold. The constants MAXDRIVE, MAXDIR, MAXFILE and MAXEXT, defined on dir.h, define the maximum length of these buffers. 

See section fnmerge. 

Return Value 
A flag that indicates which components were found: 

DRIVE 
The drive letter was found. 

DIRECTORY 
A directory or subdirectories was found. 

FILENAME 
A filename was found. 

EXTENSION 
An extension was found. 

WILDCARDS 
The path included * or ?. 

Portability 
ANSI/ISO C No  
POSIX No
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/579627</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/579627</guid><dc:creator><![CDATA[elise]]></dc:creator><pubDate>Wed, 11 Aug 2004 08:03:19 GMT</pubDate></item><item><title><![CDATA[Reply to error LNK2001: Nichtaufgeloestes externes Symbol _fnmerge on Wed, 11 Aug 2004 08:19:06 GMT]]></title><description><![CDATA[<p>Hast du in etwa eine Idee was da gleichwertig sein könnte?</p>
<p>Ich habe da bist jetzt noch nichts gefunden?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/579641</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/579641</guid><dc:creator><![CDATA[mathi0879]]></dc:creator><pubDate>Wed, 11 Aug 2004 08:19:06 GMT</pubDate></item><item><title><![CDATA[Reply to error LNK2001: Nichtaufgeloestes externes Symbol _fnmerge on Wed, 11 Aug 2004 08:41:53 GMT]]></title><description><![CDATA[<p>hier ein beispiel, wie sie funktioniert:</p>
<pre><code>char d[MAXDRIVE], p[MAXDIR], f[MAXFILE], e[MAXEXT];
int which = fnsplit(&quot;d:/djgpp/bin/gcc.exe&quot;, d, p, f, e);
d = &quot;d:&quot;
p = &quot;/djgpp/bin/&quot;
f = &quot;gcc&quot;
e = &quot;.exe&quot;
</code></pre>
<p>im notfall selber bauen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/579661</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/579661</guid><dc:creator><![CDATA[elise]]></dc:creator><pubDate>Wed, 11 Aug 2004 08:41:53 GMT</pubDate></item><item><title><![CDATA[Reply to error LNK2001: Nichtaufgeloestes externes Symbol _fnmerge on Wed, 11 Aug 2004 09:05:15 GMT]]></title><description><![CDATA[<p>schau dich mal in der #include &quot;Shlwapi.h&quot; um, ich denke, damit kommst du am weitesten.</p>
<p>#pragma comment(lib, &quot;shlwapi.lib&quot;) nicht vergessen</p>
<p>hier der msdn link:<br />
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/shlwapi/path/pathfindfilename.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/shlwapi/path/pathfindfilename.asp</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/579682</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/579682</guid><dc:creator><![CDATA[elise]]></dc:creator><pubDate>Wed, 11 Aug 2004 09:05:15 GMT</pubDate></item></channel></rss>