<?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[Windows Anwendung läuft nicht unter Win2000]]></title><description><![CDATA[<p>Hallo Zusammen,<br />
ich habe wie folgt eine Windows-Anwendung erstellt:</p>
<pre><code class="language-cpp">WNDCLASSEX wc;

    wc.cbSize        = sizeof(WNDCLASSEX);
    wc.style         = WS_EX_STATICEDGE;
	wc.lpfnWndProc   = WndProc;
    wc.cbClsExtra    = 0;
    wc.cbWndExtra    = 0;
    wc.hInstance     = hInstance;
    wc.hIcon         = LoadIcon(GetModuleHandle(NULL), MAKEINTRESOURCE(IDI_MYICON));
    wc.hIconSm       = (HICON)LoadImage(GetModuleHandle(NULL), MAKEINTRESOURCE(IDI_MYICON), IMAGE_ICON, 16, 50, 0);
    wc.hCursor       = LoadCursor(NULL, IDC_ARROW);
    wc.hbrBackground = CreateSolidBrush(RGB(239,235,222));
    wc.lpszClassName = g_szClassName;
    wc.lpszMenuName  = MAKEINTRESOURCE(IDR_MYMENU);

    if(!RegisterClassEx(&amp;wc))
    {
        MessageBox(NULL, &quot;Registrierung fehlgeschlagen!&quot;, &quot;Error!&quot;,
            MB_ICONEXCLAMATION | MB_OK);
        return 0;
    }
</code></pre>
<p>Unter XP läuft es einwandfrei, nur unter Win2000 bekomme ich die Meldung &quot;Registrierung fehlgeschlagen&quot;.<br />
Woran kann das liegen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/184607/windows-anwendung-läuft-nicht-unter-win2000</link><generator>RSS for Node</generator><lastBuildDate>Sun, 05 Jul 2026 18:08:21 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/184607.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 17 Jun 2007 11:44:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Windows Anwendung läuft nicht unter Win2000 on Sun, 17 Jun 2007 11:44:00 GMT]]></title><description><![CDATA[<p>Hallo Zusammen,<br />
ich habe wie folgt eine Windows-Anwendung erstellt:</p>
<pre><code class="language-cpp">WNDCLASSEX wc;

    wc.cbSize        = sizeof(WNDCLASSEX);
    wc.style         = WS_EX_STATICEDGE;
	wc.lpfnWndProc   = WndProc;
    wc.cbClsExtra    = 0;
    wc.cbWndExtra    = 0;
    wc.hInstance     = hInstance;
    wc.hIcon         = LoadIcon(GetModuleHandle(NULL), MAKEINTRESOURCE(IDI_MYICON));
    wc.hIconSm       = (HICON)LoadImage(GetModuleHandle(NULL), MAKEINTRESOURCE(IDI_MYICON), IMAGE_ICON, 16, 50, 0);
    wc.hCursor       = LoadCursor(NULL, IDC_ARROW);
    wc.hbrBackground = CreateSolidBrush(RGB(239,235,222));
    wc.lpszClassName = g_szClassName;
    wc.lpszMenuName  = MAKEINTRESOURCE(IDR_MYMENU);

    if(!RegisterClassEx(&amp;wc))
    {
        MessageBox(NULL, &quot;Registrierung fehlgeschlagen!&quot;, &quot;Error!&quot;,
            MB_ICONEXCLAMATION | MB_OK);
        return 0;
    }
</code></pre>
<p>Unter XP läuft es einwandfrei, nur unter Win2000 bekomme ich die Meldung &quot;Registrierung fehlgeschlagen&quot;.<br />
Woran kann das liegen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1307611</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1307611</guid><dc:creator><![CDATA[mr. tompkins]]></dc:creator><pubDate>Sun, 17 Jun 2007 11:44:00 GMT</pubDate></item><item><title><![CDATA[Reply to Windows Anwendung läuft nicht unter Win2000 on Sun, 17 Jun 2007 12:50:16 GMT]]></title><description><![CDATA[<blockquote>
<pre><code class="language-cpp">wc.style         = WS_EX_STATICEDGE;
</code></pre>
</blockquote>
<p>sieht schonmal falsch aus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1307655</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1307655</guid><dc:creator><![CDATA[wjr]]></dc:creator><pubDate>Sun, 17 Jun 2007 12:50:16 GMT</pubDate></item></channel></rss>