<?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[Probleme mit VC++ 2005]]></title><description><![CDATA[<p>Ich komme mit den der WINAPI absolut nicht klar...</p>
<p>Wie kann ich den bei: glGetString(GL_VERSION)<br />
erhaltenen String in einer MEssageBox ausgeben lassen. mit dem Datentyp char komme ich da ja nicht sehr weit.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/136813/probleme-mit-vc-2005</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 17:03:05 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/136813.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 13 Feb 2006 13:25:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Probleme mit VC++ 2005 on Mon, 13 Feb 2006 13:25:17 GMT]]></title><description><![CDATA[<p>Ich komme mit den der WINAPI absolut nicht klar...</p>
<p>Wie kann ich den bei: glGetString(GL_VERSION)<br />
erhaltenen String in einer MEssageBox ausgeben lassen. mit dem Datentyp char komme ich da ja nicht sehr weit.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/993058</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/993058</guid><dc:creator><![CDATA[mb hljobpö]]></dc:creator><pubDate>Mon, 13 Feb 2006 13:25:17 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit VC++ 2005 on Mon, 13 Feb 2006 13:27:35 GMT]]></title><description><![CDATA[<p>mb hljobpö schrieb:</p>
<blockquote>
<p>mit dem Datentyp char komme ich da ja nicht sehr weit.</p>
</blockquote>
<p>Natülich kommst du das.</p>
<p>Schon mal</p>
<pre><code class="language-cpp">char x[100];
strcpy(x, &quot;Hello World&quot;);

MessageBox(NULL, x, &quot;test&quot;, 0);
</code></pre>
<p>ausprobiert?</p>
<p>-- code_pilot</p>
]]></description><link>https://www.c-plusplus.net/forum/post/993062</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/993062</guid><dc:creator><![CDATA[code_pilot]]></dc:creator><pubDate>Mon, 13 Feb 2006 13:27:35 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit VC++ 2005 on Mon, 13 Feb 2006 16:55:01 GMT]]></title><description><![CDATA[<p>Das ist ja mein Problem, es funzt net</p>
<p>1&gt;------ Erstellen gestartet: Projekt: EnumerationGL, Konfiguration: Debug Win32 ------<br />
1&gt;Kompilieren...<br />
1&gt;WinMain.cpp<br />
1&gt;d:\programming\projekte\enumerationgl\winmain.cpp(67) : warning C4996: 'strcpy' wurde als veraltet deklariert<br />
1&gt; c:\programme\microsoft visual studio 8\vc\include\string.h(73): Siehe Deklaration von 'strcpy'<br />
1&gt; Meldung: &quot;This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.&quot;<br />
1&gt;d:\programming\projekte\enumerationgl\winmain.cpp(69) : error C2664: 'MessageBoxW': Konvertierung des Parameters 2 von 'char [100]' 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.<br />
1&gt;Das Buildprotokoll wurde unter &quot;file://d:\Programming\Projekte\EnumerationGL\Debug\BuildLog.htm&quot; gespeichert.<br />
1&gt;EnumerationGL - 1 Fehler, 1 Warnung(en)<br />
========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 übersprungen ==========</p>
]]></description><link>https://www.c-plusplus.net/forum/post/993264</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/993264</guid><dc:creator><![CDATA[mb hljobpö]]></dc:creator><pubDate>Mon, 13 Feb 2006 16:55:01 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit VC++ 2005 on Mon, 13 Feb 2006 17:44:34 GMT]]></title><description><![CDATA[<p>du verwendest die Unicode Variante...<br />
schreib mal statt MessageBox ::MessageBoxA</p>
]]></description><link>https://www.c-plusplus.net/forum/post/993295</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/993295</guid><dc:creator><![CDATA[DarkFitzi]]></dc:creator><pubDate>Mon, 13 Feb 2006 17:44:34 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit VC++ 2005 on Mon, 13 Feb 2006 19:44:10 GMT]]></title><description><![CDATA[<p>Ab VS2005 ist per default UNICODE aktic (und das ist auch gut so!)<br />
Verwende also TCHAR , _T und alles was dazugehört (tchar.h)</p>
<pre><code class="language-cpp">TCHAR x[100]; 
_tcscpy_s(x, _T(&quot;Hello World&quot;)); 
MessageBox(NULL, x, _T(&quot;test&quot;), MB_OK);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/993444</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/993444</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Mon, 13 Feb 2006 19:44:10 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit VC++ 2005 on Mon, 13 Feb 2006 19:48:44 GMT]]></title><description><![CDATA[<p>Das ist schlecht so. Dann laufen die Programme net mehr auf Windows 95.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/993451</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/993451</guid><dc:creator><![CDATA[unicode-gegner]]></dc:creator><pubDate>Mon, 13 Feb 2006 19:48:44 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit VC++ 2005 on Mon, 13 Feb 2006 20:09:29 GMT]]></title><description><![CDATA[<p>Wer heute noch Win95 hat ist selber schuld!<br />
(Es gibt ja auch noch MSLU)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/993470</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/993470</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Mon, 13 Feb 2006 20:09:29 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit VC++ 2005 on Mon, 13 Feb 2006 20:11:07 GMT]]></title><description><![CDATA[<p>unicode-gegner schrieb:</p>
<blockquote>
<p>Das ist schlecht so. Dann laufen die Programme net mehr auf Windows 95.</p>
</blockquote>
<p>mit visual c++ 2005 kann man glaube ich keine win95 anwendungen mehr schreiben. auch wenn man unicode abstellt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/993476</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/993476</guid><dc:creator><![CDATA[imho]]></dc:creator><pubDate>Mon, 13 Feb 2006 20:11:07 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit VC++ 2005 on Mon, 13 Feb 2006 20:17:30 GMT]]></title><description><![CDATA[<p>imho schrieb:</p>
<blockquote>
<p>unicode-gegner schrieb:</p>
<blockquote>
<p>Das ist schlecht so. Dann laufen die Programme net mehr auf Windows 95.</p>
</blockquote>
<p>mit visual c++ 2005 kann man glaube ich keine win95 anwendungen mehr schreiben. auch wenn man unicode abstellt.</p>
</blockquote>
<p>Offiziell wird es nicht supported und bei NT4 kann man auch keine CRT-DLLs mehr verwenden...<br />
<a href="http://blog.kalmbachnet.de/?postid=53" rel="nofollow">http://blog.kalmbachnet.de/?postid=53</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/993480</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/993480</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Mon, 13 Feb 2006 20:17:30 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit VC++ 2005 on Mon, 13 Feb 2006 21:03:08 GMT]]></title><description><![CDATA[<p>entweder ganz oder garnich...<br />
entweder Unicode oder nicht...<br />
TCHAR is doch der reinste Müll, also entweder</p>
<pre><code class="language-cpp">MessageBox(NULL, &quot;blabla&quot;, &quot;blabla&quot;, 0);
//Kein Unicode, gleichwertig mit MessageBoxA
</code></pre>
<p>oder</p>
<pre><code class="language-cpp">MessageBox(NULL, L&quot;blabla&quot;, L&quot;blabla&quot;, 0);
//Unicode, gleichwertig mit MessageBoxW
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/993533</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/993533</guid><dc:creator><![CDATA[DarkFitzi]]></dc:creator><pubDate>Mon, 13 Feb 2006 21:03:08 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit VC++ 2005 on Mon, 13 Feb 2006 21:16:28 GMT]]></title><description><![CDATA[<p>Wenn, dann mach es aber bitte richtig und schreib hier nicht so ein kruscht hin:</p>
<pre><code class="language-cpp">MessageBoxA(NULL, &quot;blabla&quot;, &quot;blabla&quot;, MB_OK);  // ANSI
MessageBoxW(NULL, L&quot;blabla&quot;, L&quot;blabla&quot;, MB_OK);  // UNICODE
MessageBox(NULL, _T(&quot;blabla&quot;), _T(&quot;blabla&quot;), MB_OK);  // sowohl als auch (abhängig von den Projekteinstellungen)
</code></pre>
<p>Nur dann ist es unabhängig von den Projekt-Einstellungen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/993540</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/993540</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Mon, 13 Feb 2006 21:16:28 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit VC++ 2005 on Mon, 13 Feb 2006 22:44:54 GMT]]></title><description><![CDATA[<blockquote>
<p>entweder ganz oder garnich...<br />
entweder Unicode oder nicht...<br />
TCHAR is doch der reinste Müll, also entweder</p>
</blockquote>
<p>TCHAR ist kein 'echter' datentyp, sondern ein wchar_t wenn UNICODE definiert ist, sonst ein char. Das &quot;entweder Unicode oder nicht...&quot; kannst du also in den Projekt-Einstellungen festlegen wenn du TCHAR verwendest.<br />
Dann mach noch ein paar neue Build Settings dazu, wie &quot;Win 9x (multibyte)&quot; &quot;Win2k (unicode)&quot; und du kannst per mausklick aussichen ob Unicode oder nicht, gehts noch bequemer?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/993586</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/993586</guid><dc:creator><![CDATA[CMatt]]></dc:creator><pubDate>Mon, 13 Feb 2006 22:44:54 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit VC++ 2005 on Tue, 14 Feb 2006 18:24:39 GMT]]></title><description><![CDATA[<p>ja es geht bequemer<br />
gleich Unicode verwenden... <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>
]]></description><link>https://www.c-plusplus.net/forum/post/994208</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/994208</guid><dc:creator><![CDATA[DarkFitzi]]></dc:creator><pubDate>Tue, 14 Feb 2006 18:24:39 GMT</pubDate></item></channel></rss>