<?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[Linker Fehler bei Funktion IShellFolder::GetDisplayNameOf]]></title><description><![CDATA[<p>Hallo</p>
<p>ich habe folgenden Code, der zwar übersetzt wird, den der Linker aber nicht auflöst, obwohl die shell32.lib in einem der angegebenen Lib-Pfade der BDS 2006 IDE angegeben ist. Weiß jemand wo das Problem liegt?</p>
<pre><code class="language-cpp">#include	&lt;commdlg.h&gt;
#include	&lt;shlobj.h&gt;
#include	&lt;shobjidl.h&gt;
...

LPITEMIDLIST	pidl;
BROWSEINFO	BI;
IShellFolder *pshf;

memset (&amp;BI, 0, sizeof(BROWSEINFO));
BI.hwndOwner = hWnd;
BI.pszDisplayName = dir;
BI.lpszTitle = tcap;
BI.ulFlags = BIF_NEWDIALOGSTYLE;
pidl = SHBrowseForFolder(&amp;BI);

SHGetDesktopFolder(&amp;pshf);
pshf-&gt;IShellFolder::GetDisplayNameOf(pidl, SHGDN_NORMAL, &amp;SR);
pshf-&gt;Release();
</code></pre>
<p>[Linker Fehler] Error: Ungelöste externe '__stdcall IShellFolder::GetDisplayNameOf(const _ITEMIDLIST *, unsigned long, _STRRET *)' referenziert von ....</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/159643/linker-fehler-bei-funktion-ishellfolder-getdisplaynameof</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 02:41:26 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/159643.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 17 Sep 2006 14:41:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Linker Fehler bei Funktion IShellFolder::GetDisplayNameOf on Sun, 17 Sep 2006 14:57:31 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>ich habe folgenden Code, der zwar übersetzt wird, den der Linker aber nicht auflöst, obwohl die shell32.lib in einem der angegebenen Lib-Pfade der BDS 2006 IDE angegeben ist. Weiß jemand wo das Problem liegt?</p>
<pre><code class="language-cpp">#include	&lt;commdlg.h&gt;
#include	&lt;shlobj.h&gt;
#include	&lt;shobjidl.h&gt;
...

LPITEMIDLIST	pidl;
BROWSEINFO	BI;
IShellFolder *pshf;

memset (&amp;BI, 0, sizeof(BROWSEINFO));
BI.hwndOwner = hWnd;
BI.pszDisplayName = dir;
BI.lpszTitle = tcap;
BI.ulFlags = BIF_NEWDIALOGSTYLE;
pidl = SHBrowseForFolder(&amp;BI);

SHGetDesktopFolder(&amp;pshf);
pshf-&gt;IShellFolder::GetDisplayNameOf(pidl, SHGDN_NORMAL, &amp;SR);
pshf-&gt;Release();
</code></pre>
<p>[Linker Fehler] Error: Ungelöste externe '__stdcall IShellFolder::GetDisplayNameOf(const _ITEMIDLIST *, unsigned long, _STRRET *)' referenziert von ....</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1139051</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1139051</guid><dc:creator><![CDATA[Uli]]></dc:creator><pubDate>Sun, 17 Sep 2006 14:57:31 GMT</pubDate></item><item><title><![CDATA[Reply to Linker Fehler bei Funktion IShellFolder::GetDisplayNameOf on Sun, 17 Sep 2006 15:49:12 GMT]]></title><description><![CDATA[<p>Hast du die lib auch über Projekt-&gt;Dem Projekt hinzufügen... eingefügt?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1139082</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1139082</guid><dc:creator><![CDATA[rean]]></dc:creator><pubDate>Sun, 17 Sep 2006 15:49:12 GMT</pubDate></item><item><title><![CDATA[Reply to Linker Fehler bei Funktion IShellFolder::GetDisplayNameOf on Sun, 17 Sep 2006 15:57:35 GMT]]></title><description><![CDATA[<p>Ja, aber ich hab den Fehler inzwischen gefunden, verstehe aber nicht warum der Compiler nicht meckert. Die vorletzte Anweisung muß heißen:</p>
<p>pshf-&gt;GetDisplayNameOf(pidl, SHGDN_NORMAL, &amp;SR);</p>
<p>weil pshf ja schon ein IShellFolder-Pointer ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1139086</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1139086</guid><dc:creator><![CDATA[Uli]]></dc:creator><pubDate>Sun, 17 Sep 2006 15:57:35 GMT</pubDate></item></channel></rss>