<?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[TCHAR in TCHAR kopieren]]></title><description><![CDATA[<p>Hallo!</p>
<p>Ich möchte einen TCHAR buffer in einen anderen TCHAR buffer kopieren.<br />
Hab auch schon gegoogelt, allerdings bekomm ich auch Funktionen wie z.B. tcscpy Fehlermeldung bezüglich des Typs (z.B., dass TCHAR nicht in wchar_t* konvertiert werden kann. Hab allerdings gedacht, dass TCHAR den Typ wchar_t* hat).</p>
<p>Wie realisier ich das also am besten?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/205508/tchar-in-tchar-kopieren</link><generator>RSS for Node</generator><lastBuildDate>Sat, 04 Apr 2026 04:48:02 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/205508.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 15 Feb 2008 07:19:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TCHAR in TCHAR kopieren on Fri, 15 Feb 2008 07:19:45 GMT]]></title><description><![CDATA[<p>Hallo!</p>
<p>Ich möchte einen TCHAR buffer in einen anderen TCHAR buffer kopieren.<br />
Hab auch schon gegoogelt, allerdings bekomm ich auch Funktionen wie z.B. tcscpy Fehlermeldung bezüglich des Typs (z.B., dass TCHAR nicht in wchar_t* konvertiert werden kann. Hab allerdings gedacht, dass TCHAR den Typ wchar_t* hat).</p>
<p>Wie realisier ich das also am besten?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1456285</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1456285</guid><dc:creator><![CDATA[...]]></dc:creator><pubDate>Fri, 15 Feb 2008 07:19:45 GMT</pubDate></item><item><title><![CDATA[Reply to TCHAR in TCHAR kopieren on Fri, 15 Feb 2008 07:48:40 GMT]]></title><description><![CDATA[<p>Wenn Dein Project UNICODE ist ist ein TCHAR wchar_t, wenn Dein Projekt MBCS ist, dann ist es ein char!</p>
<p>Wenn Du so etwas meinst: Ein TCHAR in einen TCHAR buffer kopieren würde ich so machen:</p>
<pre><code class="language-cpp">TCHAR a=_T('a');
TCHAR b[2];
b[0] = a;
b[1] = _T('\0'); // es geht auch 0 alleine (ich weiß es)
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1456294</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1456294</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Fri, 15 Feb 2008 07:48:40 GMT</pubDate></item><item><title><![CDATA[Reply to TCHAR in TCHAR kopieren on Fri, 15 Feb 2008 09:17:54 GMT]]></title><description><![CDATA[<p>Zeig mal Minimalcode.</p>
<p>greetz, Swordfish</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1456333</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1456333</guid><dc:creator><![CDATA[Swordfish]]></dc:creator><pubDate>Fri, 15 Feb 2008 09:17:54 GMT</pubDate></item></channel></rss>