<?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[Hile! Jetzt auf einmal kaputt?]]></title><description><![CDATA[<p>Hallo,<br />
Früher gingen funktionen wie</p>
<pre><code class="language-cpp">RemoveDirectory(&quot;C:\\testordner&quot;);
</code></pre>
<p>Aber sei ich neu aufgesetzt habe gibt es Fehler wie:</p>
<blockquote>
<p>error C2664: 'RemoveDirectoryW': Konvertierung des Parameters 1 von 'const char [4]' in 'LPCWSTR' nicht möglich<br />
1&gt; Die Typen, auf die verwiesen wird, sind nicht verknüpft; die Konvertierung erfordert einen reinterpret_cast-Operator oder eine Typumwandlung im C- oder Funktionsformat.</p>
</blockquote>
<p>In anderen IDEs bzw Compilern geht es.<br />
Ich habe mein Visual C++ 2005 Express schon neu installiert und das PSDK habe ich schon! Sowie alle Updates + Service Pack 1.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/191794/hile-jetzt-auf-einmal-kaputt</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 03:01:22 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/191794.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 06 Sep 2007 15:39:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Hile! Jetzt auf einmal kaputt? on Thu, 06 Sep 2007 15:39:59 GMT]]></title><description><![CDATA[<p>Hallo,<br />
Früher gingen funktionen wie</p>
<pre><code class="language-cpp">RemoveDirectory(&quot;C:\\testordner&quot;);
</code></pre>
<p>Aber sei ich neu aufgesetzt habe gibt es Fehler wie:</p>
<blockquote>
<p>error C2664: 'RemoveDirectoryW': Konvertierung des Parameters 1 von 'const char [4]' in 'LPCWSTR' nicht möglich<br />
1&gt; Die Typen, auf die verwiesen wird, sind nicht verknüpft; die Konvertierung erfordert einen reinterpret_cast-Operator oder eine Typumwandlung im C- oder Funktionsformat.</p>
</blockquote>
<p>In anderen IDEs bzw Compilern geht es.<br />
Ich habe mein Visual C++ 2005 Express schon neu installiert und das PSDK habe ich schon! Sowie alle Updates + Service Pack 1.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1360328</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1360328</guid><dc:creator><![CDATA[hiiiilfe]]></dc:creator><pubDate>Thu, 06 Sep 2007 15:39:59 GMT</pubDate></item><item><title><![CDATA[Reply to Hile! Jetzt auf einmal kaputt? on Thu, 06 Sep 2007 15:42:39 GMT]]></title><description><![CDATA[<p>Du benutzt die Unicode Version (RemoveDirectory<strong>W</strong>). Versuch dieses:</p>
<pre><code class="language-cpp">RemoveDirectory(L&quot;C:\\testordner&quot;);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1360333</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1360333</guid><dc:creator><![CDATA[Bommel]]></dc:creator><pubDate>Thu, 06 Sep 2007 15:42:39 GMT</pubDate></item><item><title><![CDATA[Reply to Hile! Jetzt auf einmal kaputt? on Thu, 06 Sep 2007 16:14:19 GMT]]></title><description><![CDATA[<p>es geht, danke!<br />
früher ging aber auch meine version da <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title="=/"
      alt="😕"
    /> Woran liegt es dass es nicht mehr geht?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1360355</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1360355</guid><dc:creator><![CDATA[hiiiilfe]]></dc:creator><pubDate>Thu, 06 Sep 2007 16:14:19 GMT</pubDate></item><item><title><![CDATA[Reply to Hile! Jetzt auf einmal kaputt? on Thu, 06 Sep 2007 16:45:35 GMT]]></title><description><![CDATA[<p>Besser ist:</p>
<pre><code class="language-cpp">#include &lt;tchar.h&gt;
RemoveDirectory(_T(&quot;C:\\testordner&quot;));
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1360363</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1360363</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Thu, 06 Sep 2007 16:45:35 GMT</pubDate></item><item><title><![CDATA[Reply to Hile! Jetzt auf einmal kaputt? on Thu, 06 Sep 2007 17:35:50 GMT]]></title><description><![CDATA[<p>Warum wäre das besser?<br />
Sorry ich bin so neugierig <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
<p>Aber warum ging früher &quot;meine&quot; Version und jetzt nicht mehr?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1360388</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1360388</guid><dc:creator><![CDATA[hiiiiilfe]]></dc:creator><pubDate>Thu, 06 Sep 2007 17:35:50 GMT</pubDate></item><item><title><![CDATA[Reply to Hile! Jetzt auf einmal kaputt? on Thu, 06 Sep 2007 18:48:35 GMT]]></title><description><![CDATA[<p>ich vermute mal das du vorher unicode nicht aktiviert hattest, jetzt aber schon</p>
<p>***(L&quot;..&quot;) ist immer &quot;WideChar&quot; == Unicode == wchar_t == L&quot;string&quot;<br />
***(&quot;..&quot;) ist immer &quot;Char&quot; == Multibyte == char == &quot;string&quot;<br />
***(_T(&quot;..&quot;)) ist immer &quot;Char||WideChar&quot; == Multibyte||Unicode == char||wchar_t == _T(&quot;string&quot;)</p>
<p>du kannst dir _T(&quot;&quot;) so vorstellen</p>
<p>#ifdef UNICODE || _UNICODE<br />
#define _T(&quot;x&quot;) L&quot;x&quot;<br />
#else<br />
#define _T(&quot;x&quot;) &quot;x&quot;</p>
<p>LPCWSTR == LongPointerConstWideSTRing == Unicode<br />
LPCSTR == LongPointerConstSTRing == Multibyte<br />
LPCTSTR == LongPointerConstTemplateSTRing == Unicode||Multibyte</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1360445</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1360445</guid><dc:creator><![CDATA[EXDW]]></dc:creator><pubDate>Thu, 06 Sep 2007 18:48:35 GMT</pubDate></item><item><title><![CDATA[Reply to Hile! Jetzt auf einmal kaputt? on Fri, 07 Sep 2007 06:33:46 GMT]]></title><description><![CDATA[<p>Nochmals in deutsch:<br />
_T ist abhängig von den eigenstellten Compiler-Optionen; genauso wie fast alle Windows-Funktion abhängig von diesen Optionen ein char oder wchar_t entgegennehmen. Und damit beides immer passend zum define verwendet wird, sollte man immer die TCHAR-Dinge verwenden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1360566</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1360566</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Fri, 07 Sep 2007 06:33:46 GMT</pubDate></item></channel></rss>