<?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[_tcscat() - Verknüpfung von TCHAR funktioniert nicht]]></title><description><![CDATA[<p>Hi zusammen,<br />
ich werd hiermit noch wahnsinnig. Vielleicht habt ihr mir einen Tip.<br />
Ich verwende in meinem kleinen Programm durchweg LPTSTR, sowie TCHAR.<br />
Im compiler ist eingestellt das ich UNICODE verwenden möchte.<br />
Nun möchte ich einen <strong>LPTSTR klartext</strong> verlängern und zwar wie folgt:</p>
<pre><code>LPTSTR klartext[INFO_BUFFER_SIZE];
_tcscat(klartext, _T(&quot;Info&quot;));
</code></pre>
<p>ich bekomme jedoch folgende Fehlermeldung:<br />
cannot convert `TCHAR**' to `char*' for argument `1' to `char* strcat(char*, const char*)'</p>
<p>Wisst ihr warum? Oder wie es sonst funktioniert?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/277661/_tcscat-verknüpfung-von-tchar-funktioniert-nicht</link><generator>RSS for Node</generator><lastBuildDate>Tue, 25 Aug 2026 20:49:33 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/277661.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 22 Nov 2010 14:49:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to _tcscat() - Verknüpfung von TCHAR funktioniert nicht on Mon, 22 Nov 2010 14:50:17 GMT]]></title><description><![CDATA[<p>Hi zusammen,<br />
ich werd hiermit noch wahnsinnig. Vielleicht habt ihr mir einen Tip.<br />
Ich verwende in meinem kleinen Programm durchweg LPTSTR, sowie TCHAR.<br />
Im compiler ist eingestellt das ich UNICODE verwenden möchte.<br />
Nun möchte ich einen <strong>LPTSTR klartext</strong> verlängern und zwar wie folgt:</p>
<pre><code>LPTSTR klartext[INFO_BUFFER_SIZE];
_tcscat(klartext, _T(&quot;Info&quot;));
</code></pre>
<p>ich bekomme jedoch folgende Fehlermeldung:<br />
cannot convert `TCHAR**' to `char*' for argument `1' to `char* strcat(char*, const char*)'</p>
<p>Wisst ihr warum? Oder wie es sonst funktioniert?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1984186</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1984186</guid><dc:creator><![CDATA[redbomber]]></dc:creator><pubDate>Mon, 22 Nov 2010 14:50:17 GMT</pubDate></item><item><title><![CDATA[Reply to _tcscat() - Verknüpfung von TCHAR funktioniert nicht on Mon, 22 Nov 2010 14:54:32 GMT]]></title><description><![CDATA[<p>Es müsste dich wohl eher</p>
<pre><code class="language-cpp">TCHAR klartext[INFO_BUFFER_SIZE];
</code></pre>
<p>heißen. Und initialisieren wäre auch nicht schlecht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1984189</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1984189</guid><dc:creator><![CDATA[manni66]]></dc:creator><pubDate>Mon, 22 Nov 2010 14:54:32 GMT</pubDate></item><item><title><![CDATA[Reply to _tcscat() - Verknüpfung von TCHAR funktioniert nicht on Mon, 22 Nov 2010 16:15:09 GMT]]></title><description><![CDATA[<p>vielen Dank. Dummer Fehler, aber ich habs einfach nicht gesehen!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1984236</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1984236</guid><dc:creator><![CDATA[redbomber]]></dc:creator><pubDate>Mon, 22 Nov 2010 16:15:09 GMT</pubDate></item></channel></rss>