<?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[Für mich unlösebare Fehler]]></title><description><![CDATA[<p>Ich hoffe ihr könnt mir helfen:</p>
<blockquote>
<p>main.cpp: In function <code>LRESULT WindowProcedure(HWND__*, UINT, WPARAM, LPARAM)': main.cpp:115: error: invalid conversion from \</code>void*' to `char*'</p>
<p>main.cpp:168: error: invalid conversion from `void*' to `char*'</p>
<p>main.cpp:181: error: case label `2' not within a switch statement</p>
<p>main.cpp: At global scope:<br />
main.cpp:187: error: expected unqualified-id before &quot;return&quot;<br />
main.cpp:187: error: expected <code>,' or</code>;' before &quot;return&quot;<br />
main.cpp:188: error: expected declaration before '}' token</p>
<p>make.exe: *** [main.o] Error 1</p>
<p>Execution terminated</p>
</blockquote>
<pre><code class="language-cpp">char *buffer = NULL;
            int iLength;

            iLength = GetWindowTextLength(hEdit);

            buffer = malloc(iLength); // 168
</code></pre>
<pre><code class="language-cpp">case WM_DESTROY:
        {
            PostQuitMessage(0); // 183
            return 0;
        }
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/202039/für-mich-unlösebare-fehler</link><generator>RSS for Node</generator><lastBuildDate>Mon, 27 Apr 2026 19:50:01 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/202039.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 06 Jan 2008 22:42:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Für mich unlösebare Fehler on Sun, 06 Jan 2008 22:42:30 GMT]]></title><description><![CDATA[<p>Ich hoffe ihr könnt mir helfen:</p>
<blockquote>
<p>main.cpp: In function <code>LRESULT WindowProcedure(HWND__*, UINT, WPARAM, LPARAM)': main.cpp:115: error: invalid conversion from \</code>void*' to `char*'</p>
<p>main.cpp:168: error: invalid conversion from `void*' to `char*'</p>
<p>main.cpp:181: error: case label `2' not within a switch statement</p>
<p>main.cpp: At global scope:<br />
main.cpp:187: error: expected unqualified-id before &quot;return&quot;<br />
main.cpp:187: error: expected <code>,' or</code>;' before &quot;return&quot;<br />
main.cpp:188: error: expected declaration before '}' token</p>
<p>make.exe: *** [main.o] Error 1</p>
<p>Execution terminated</p>
</blockquote>
<pre><code class="language-cpp">char *buffer = NULL;
            int iLength;

            iLength = GetWindowTextLength(hEdit);

            buffer = malloc(iLength); // 168
</code></pre>
<pre><code class="language-cpp">case WM_DESTROY:
        {
            PostQuitMessage(0); // 183
            return 0;
        }
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1432143</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1432143</guid><dc:creator><![CDATA[fehlerus]]></dc:creator><pubDate>Sun, 06 Jan 2008 22:42:30 GMT</pubDate></item><item><title><![CDATA[Reply to Für mich unlösebare Fehler on Sun, 06 Jan 2008 22:56:09 GMT]]></title><description><![CDATA[<p>Zu dem ersten Fehler guck dir mal die C++-casts an.<br />
Zu dem zweiten Fehler guck dir an wie switch funktioniert (nahezu beliebiges C++-Tutorial).<br />
<img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1432150</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1432150</guid><dc:creator><![CDATA[Badestrand]]></dc:creator><pubDate>Sun, 06 Jan 2008 22:56:09 GMT</pubDate></item><item><title><![CDATA[Reply to Für mich unlösebare Fehler on Mon, 07 Jan 2008 11:20:34 GMT]]></title><description><![CDATA[<p>Müsste es nicht auch so gehen?</p>
<pre><code class="language-cpp">#include &lt;stdlib.h&gt;
#include &lt;iostream.h&gt;

int main(void) {
 char *buffer = NULL;
 int iLength;
 itoa(iLength, buffer, 10);
 iLength = GetWindowTextLength(hEdit);
 buffer = malloc(iLength); 
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1432302</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1432302</guid><dc:creator><![CDATA[fehlerus]]></dc:creator><pubDate>Mon, 07 Jan 2008 11:20:34 GMT</pubDate></item></channel></rss>