<?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[TimeStamp in einen Unicode TCHAR konvertieren]]></title><description><![CDATA[<p>Wie kann ich einen TimeStamp in einen Unicode TCHAR konvertieren<br />
mit embedded Visual C++</p>
<p>TCHAR szWrite[35];<br />
TCHAR szTimeStamp;<br />
SYSTEMTIME systime;<br />
systime = lpScanBuffer-&gt;TimeStamp;</p>
<p>szTimeStamp=systime.wMonth; // zB. Monat</p>
<p>Bis hier funktioniert es noch<br />
aber wenn ich versuche szTimeStamp an szWrite anzuhängen</p>
<p>wcscpy(szWrite, szZBez);<br />
wcscat(szWrite, szTimeStamp);</p>
<p>bekomme ich die Fehlermeldungen</p>
<p>warning C4047: 'function' : 'const unsigned short *' differs in levels of indirection from<br />
'unsigned short '<br />
warning C4024: 'wcscat' : different types for formal and actual parameter 2</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/124952/timestamp-in-einen-unicode-tchar-konvertieren</link><generator>RSS for Node</generator><lastBuildDate>Mon, 24 Aug 2026 03:33:36 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/124952.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 02 Nov 2005 09:15:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TimeStamp in einen Unicode TCHAR konvertieren on Wed, 02 Nov 2005 09:15:47 GMT]]></title><description><![CDATA[<p>Wie kann ich einen TimeStamp in einen Unicode TCHAR konvertieren<br />
mit embedded Visual C++</p>
<p>TCHAR szWrite[35];<br />
TCHAR szTimeStamp;<br />
SYSTEMTIME systime;<br />
systime = lpScanBuffer-&gt;TimeStamp;</p>
<p>szTimeStamp=systime.wMonth; // zB. Monat</p>
<p>Bis hier funktioniert es noch<br />
aber wenn ich versuche szTimeStamp an szWrite anzuhängen</p>
<p>wcscpy(szWrite, szZBez);<br />
wcscat(szWrite, szTimeStamp);</p>
<p>bekomme ich die Fehlermeldungen</p>
<p>warning C4047: 'function' : 'const unsigned short *' differs in levels of indirection from<br />
'unsigned short '<br />
warning C4024: 'wcscat' : different types for formal and actual parameter 2</p>
]]></description><link>https://www.c-plusplus.net/forum/post/906217</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/906217</guid><dc:creator><![CDATA[hhabel]]></dc:creator><pubDate>Wed, 02 Nov 2005 09:15:47 GMT</pubDate></item><item><title><![CDATA[Reply to TimeStamp in einen Unicode TCHAR konvertieren on Wed, 02 Nov 2005 09:30:15 GMT]]></title><description><![CDATA[<p>hhabel schrieb:</p>
<blockquote>
<p>Bis hier funktioniert es noch</p>
</blockquote>
<p>Du meinst, der Compiler beschwert sich nicht. Funktionieren tut das nicht, zumindest nicht so, wie du dir das vorstellst.</p>
<pre><code class="language-cpp">_stprintf(szWrite, _T(&quot;%d&quot;), systime.wMonth);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/906233</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/906233</guid><dc:creator><![CDATA[MFK]]></dc:creator><pubDate>Wed, 02 Nov 2005 09:30:15 GMT</pubDate></item><item><title><![CDATA[Reply to TimeStamp in einen Unicode TCHAR konvertieren on Wed, 02 Nov 2005 10:43:18 GMT]]></title><description><![CDATA[<p>Danke du hast mir weiter geholfen .</p>
]]></description><link>https://www.c-plusplus.net/forum/post/906291</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/906291</guid><dc:creator><![CDATA[hhabel]]></dc:creator><pubDate>Wed, 02 Nov 2005 10:43:18 GMT</pubDate></item></channel></rss>