<?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[Visual C++ 2005 Problem bei der WinAPi]]></title><description><![CDATA[<p>Halle alle,</p>
<p>ich habe mir ein Buch über die WinApi gekauft nun habe ich volgendes Problem.<br />
ich benutze den Dev-C++ Compiler</p>
<p>nun ich wollte eine einfache wavedatei in einen Projekt abspielen lassen.<br />
aber nun heist es buil error. Ich benutze hier ein Standart des Compilers und habe die Stelle mit PlaySound() ergänzt hier der code</p>
<p>#include &lt;windows.h&gt;<br />
#include &lt;mmsystem.h&gt;</p>
<p>LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM);</p>
<p><div class="plugin-markdown"><input type="checkbox" id="checkbox34347" /><label for="checkbox34347">= &quot;WindowsApp&quot;;</label></div></p>
<p>int WINAPI WinMain (HINSTANCE hThisInstance,<br />
HINSTANCE hPrevInstance,<br />
LPSTR lpszArgument,<br />
int nFunsterStil)</p>
<p>{<br />
HWND hwnd;<br />
MSG messages;<br />
WNDCLASSEX wincl;</p>
<p>wincl.hInstance = hThisInstance;<br />
wincl.lpszClassName = szClassName;<br />
wincl.lpfnWndProc = WindowProcedure;<br />
wincl.style = CS_DBLCLKS;<br />
wincl.cbSize = sizeof (WNDCLASSEX);</p>
<p>wincl.hIcon = LoadIcon (NULL, IDI_APPLICATION);<br />
wincl.hIconSm = LoadIcon (NULL, IDI_APPLICATION);<br />
wincl.hCursor = LoadCursor (NULL, IDC_ARROW);<br />
wincl.lpszMenuName = NULL;<br />
wincl.cbClsExtra = 0;<br />
wincl.cbWndExtra = 0;</p>
<p>wincl.hbrBackground = (HBRUSH) COLOR_BACKGROUND;</p>
<p>if (!RegisterClassEx (&amp;wincl))<br />
return 0;</p>
<p>hwnd = CreateWindowEx (<br />
0,<br />
szClassName,<br />
&quot;Windows App&quot;,<br />
WS_OVERLAPPEDWINDOW,<br />
CW_USEDEFAULT,<br />
CW_USEDEFAULT,<br />
544,<br />
375,<br />
HWND_DESKTOP,<br />
NULL,<br />
hThisInstance,<br />
NULL<br />
);</p>
<p>ShowWindow (hwnd, nFunsterStil);</p>
<p>while (GetMessage (&amp;messages, NULL, 0, 0))<br />
{</p>
<p>TranslateMessage(&amp;messages);</p>
<p>DispatchMessage(&amp;messages);<br />
}</p>
<p>return messages.wParam;<br />
}</p>
<p>LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)<br />
{<br />
//hier beginnt mein Problem<br />
::PlaySound(&quot;E:\\Zaynordner\\HolyZayns Bereich\\Programme\\WinApi\\Chap03\\HelloWin\\HelloWin.wav&quot;, NULL, SND_FILENAME | SND_ASYNC );<br />
switch (message)<br />
{<br />
case WM_DESTROY:<br />
PostQuitMessage (0);<br />
break;<br />
default:<br />
return DefWindowProc (hwnd, message, wParam, lParam);<br />
}</p>
<p>return 0;<br />
}</p>
<p>könnt ihr mir sagen was ich flsch mach <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>
<p>danke</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/149965/visual-c-2005-problem-bei-der-winapi</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Jul 2026 03:33:25 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/149965.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 12 Jun 2006 00:46:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Visual C++ 2005 Problem bei der WinAPi on Mon, 12 Jun 2006 21:41:10 GMT]]></title><description><![CDATA[<p>Halle alle,</p>
<p>ich habe mir ein Buch über die WinApi gekauft nun habe ich volgendes Problem.<br />
ich benutze den Dev-C++ Compiler</p>
<p>nun ich wollte eine einfache wavedatei in einen Projekt abspielen lassen.<br />
aber nun heist es buil error. Ich benutze hier ein Standart des Compilers und habe die Stelle mit PlaySound() ergänzt hier der code</p>
<p>#include &lt;windows.h&gt;<br />
#include &lt;mmsystem.h&gt;</p>
<p>LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM);</p>
<p><div class="plugin-markdown"><input type="checkbox" id="checkbox34347" /><label for="checkbox34347">= &quot;WindowsApp&quot;;</label></div></p>
<p>int WINAPI WinMain (HINSTANCE hThisInstance,<br />
HINSTANCE hPrevInstance,<br />
LPSTR lpszArgument,<br />
int nFunsterStil)</p>
<p>{<br />
HWND hwnd;<br />
MSG messages;<br />
WNDCLASSEX wincl;</p>
<p>wincl.hInstance = hThisInstance;<br />
wincl.lpszClassName = szClassName;<br />
wincl.lpfnWndProc = WindowProcedure;<br />
wincl.style = CS_DBLCLKS;<br />
wincl.cbSize = sizeof (WNDCLASSEX);</p>
<p>wincl.hIcon = LoadIcon (NULL, IDI_APPLICATION);<br />
wincl.hIconSm = LoadIcon (NULL, IDI_APPLICATION);<br />
wincl.hCursor = LoadCursor (NULL, IDC_ARROW);<br />
wincl.lpszMenuName = NULL;<br />
wincl.cbClsExtra = 0;<br />
wincl.cbWndExtra = 0;</p>
<p>wincl.hbrBackground = (HBRUSH) COLOR_BACKGROUND;</p>
<p>if (!RegisterClassEx (&amp;wincl))<br />
return 0;</p>
<p>hwnd = CreateWindowEx (<br />
0,<br />
szClassName,<br />
&quot;Windows App&quot;,<br />
WS_OVERLAPPEDWINDOW,<br />
CW_USEDEFAULT,<br />
CW_USEDEFAULT,<br />
544,<br />
375,<br />
HWND_DESKTOP,<br />
NULL,<br />
hThisInstance,<br />
NULL<br />
);</p>
<p>ShowWindow (hwnd, nFunsterStil);</p>
<p>while (GetMessage (&amp;messages, NULL, 0, 0))<br />
{</p>
<p>TranslateMessage(&amp;messages);</p>
<p>DispatchMessage(&amp;messages);<br />
}</p>
<p>return messages.wParam;<br />
}</p>
<p>LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)<br />
{<br />
//hier beginnt mein Problem<br />
::PlaySound(&quot;E:\\Zaynordner\\HolyZayns Bereich\\Programme\\WinApi\\Chap03\\HelloWin\\HelloWin.wav&quot;, NULL, SND_FILENAME | SND_ASYNC );<br />
switch (message)<br />
{<br />
case WM_DESTROY:<br />
PostQuitMessage (0);<br />
break;<br />
default:<br />
return DefWindowProc (hwnd, message, wParam, lParam);<br />
}</p>
<p>return 0;<br />
}</p>
<p>könnt ihr mir sagen was ich flsch mach <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>
<p>danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1075890</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1075890</guid><dc:creator><![CDATA[Zayn]]></dc:creator><pubDate>Mon, 12 Jun 2006 21:41:10 GMT</pubDate></item><item><title><![CDATA[Reply to Visual C++ 2005 Problem bei der WinAPi on Mon, 12 Jun 2006 02:31:20 GMT]]></title><description><![CDATA[<p>Zayn schrieb:</p>
<blockquote>
<p>ich habe mir ein Buch über die WinApi gekauft nun habe ich volgendes Problem.</p>
</blockquote>
<p>Du bist hier falsch! Schau mal 4 Foren darüber -&gt; WinAPI Forum...</p>
<p>Aber ich bin mal nicht so, also:</p>
<p>Magst du uns verraten, was ein</p>
<p>Zayn schrieb:</p>
<blockquote>
<p>stan**** des Compilers</p>
</blockquote>
<p>sein soll?</p>
<p>Bitte benutze cpp-Tags!</p>
<p>dein Code:</p>
<pre><code class="language-cpp">#include &lt;windows.h&gt;
#include &lt;mmsystem.h&gt;

LRESULT CALLBACK WindowProcedure( HWND, UINT, WPARAM, LPARAM );

char szClassName[ ] = &quot;WindowsApp&quot;;

int WINAPI WinMain( HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPSTR lpszArgument, int nFunsterStil )
{
    HWND hwnd;
    MSG messages;
    WNDCLASSEX wincl;

    wincl.hInstance      = hThisInstance;
    wincl.lpszClassName  = szClassName;
    wincl.lpfnWndProc    = WindowProcedure;
    wincl.style          = CS_DBLCLKS;
    wincl.cbSize         = sizeof (WNDCLASSEX);
    wincl.hIcon          = LoadIcon (NULL, IDI_APPLICATION);
    wincl.hIconSm        = LoadIcon (NULL, IDI_APPLICATION);
    wincl.hCursor        = LoadCursor (NULL, IDC_ARROW);
    wincl.lpszMenuName   = NULL;
    wincl.cbClsExtra     = 0;
    wincl.cbWndExtra     = 0;

//  wincl.hbrBackground  = (HBRUSH) COLOR_BACKGROUND;
//  ^ MSDN: A color value must be one of the following standard system
//          colors (the value 1 must be added to the chosen color).
//  also:

    wincl.hbrBackground  = (HBRUSH) COLOR_BACKGROUND + 1;

    if( !RegisterClassEx( &amp;wincl ) )
        return 0;

    hwnd = CreateWindowEx(
        0,
        szClassName,
        &quot;Windows App&quot;,
        WS_OVERLAPPEDWINDOW,
        CW_USEDEFAULT,
        CW_USEDEFAULT,
        544,
        375,
        0,                      // HWND_DESKTOP ist hier Humbug.
        0,
        hThisInstance,
        0
    );

    UpdateWindow( hwnd );              // bitte auch updaten.
    ShowWindow( hwnd, nFunsterStil );

//  while( GetMessage( &amp;messages, NULL, 0, 0 ) ) {
//  ^ du willst doch sicher nur meldungen, welche an dein Fenster
//    gerichtet sind!?

    while( GetMessage( &amp;messages, hwnd, 0, 0 ) ) {
        TranslateMessage( &amp;messages );
        DispatchMessage( &amp;messages );
    }

    return messages.wParam;
}

LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
    // hier beginnt mein Problem
//  ::PlaySound(
//      &quot;E:\\Zaynordner\\HolyZayns Bereich\\Programme\\WinApi\\Chap03\\HelloWin\\HelloWin.wav&quot;,
//      NULL,
//      SND_FILENAME | SND_ASYNC 
//  );
//  ^ du willst doch nicht jedes mal, wenn dein Fenster eine Message bekommt das wave-File
//    abspielen!? also:

    static HWND button = 0;
    const int id_button = 300;

    switch( message ) {
	case WM_CREATE:
            button = CreateWindow(
                &quot;BUTTON&quot;,
                &quot;Play!&quot;,
                WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON,
                10,
                10,
                100,
                100, 
                hwnd,
                reinterpret_cast&lt; HMENU &gt; ( id_button ),
                reinterpret_cast&lt; HINSTANCE &gt;( GetWindowLong( hwnd, GWL_HINSTANCE ) ),
                0
            );
            return 0;

        case WM_COMMAND:
            switch( LOWORD( wParam ) ) {
                case id_button:
                    PlaySound(
                        &quot;E:\\Zaynordner\\HolyZayns Bereich\\Programme\\WinApi\\Chap03\\HelloWin\\HelloWin.wav&quot;,
                        0,
                        SND_ASYNC | SND_FILENAME
                    );
                    return 0;
            }
            break;

        case WM_CLOSE:
            PostQuitMessage( 0 );
            return 0;
    }  

    return static_cast&lt; long &gt;( DefWindowProc( hwnd, message, wParam, lParam ) );
}
</code></pre>
<p>Zayn schrieb:</p>
<blockquote>
<p>könnt ihr mir sagen was ich flsch mach <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>
</blockquote>
<p>Ja, has müsst heißen: könnt ihr mir sagen**,** was ich f<strong>a</strong>lsch mach<strong>e?</strong> <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>
<p>Ne, im ernst: Du hast vergessen, gegen die winmm.lib zu linken.</p>
<p>Greetz, Swordfish</p>
<p>[edit of edit]Verdammt, ich glaub' ich geb's Programmieren jetzt dann auf...[/edit of edit]</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1075905</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1075905</guid><dc:creator><![CDATA[Swordfish]]></dc:creator><pubDate>Mon, 12 Jun 2006 02:31:20 GMT</pubDate></item><item><title><![CDATA[Reply to Visual C++ 2005 Problem bei der WinAPi on Mon, 12 Jun 2006 14:58:52 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile.php?mode=viewprofile&amp;u=403" rel="nofollow">HumeSikkins</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=15" rel="nofollow">C++</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=4" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39405" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1076299</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1076299</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Mon, 12 Jun 2006 14:58:52 GMT</pubDate></item><item><title><![CDATA[Reply to Visual C++ 2005 Problem bei der WinAPi on Mon, 12 Jun 2006 15:35:57 GMT]]></title><description><![CDATA[<p>Ich glaub ich habe vergessen zu sagen das ich noch ein änfanger bin. Naja ich versteh nur nicht des mit dem &quot;gegen die winmm.lib zu linken&quot; den rest müsste ich eigentlich verstehen.<br />
Könntest mir des ein bischen näher erklären weil in meinem Buch des vorrausgesetzt wird.</p>
<p>danke für antwort ^^</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1076338</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1076338</guid><dc:creator><![CDATA[Zayn]]></dc:creator><pubDate>Mon, 12 Jun 2006 15:35:57 GMT</pubDate></item><item><title><![CDATA[Reply to Visual C++ 2005 Problem bei der WinAPi on Mon, 12 Jun 2006 16:10:58 GMT]]></title><description><![CDATA[<p>Zayn schrieb:</p>
<blockquote>
<p>Ich glaub ich habe vergessen zu sagen das ich noch ein änfanger bin. Naja ich versteh nur nicht des mit dem &quot;gegen die winmm.lib zu linken&quot; den rest müsste ich eigentlich verstehen.<br />
Könntest mir des ein bischen näher erklären weil in meinem Buch des vorrausgesetzt wird.</p>
</blockquote>
<p>gegen die winmm.lib linken heißt das du die Bibiothek WinMM.lib in dein Projekt mit einbindest, bzw diese dem Linker 'übergibst' (der Linker bindet diese dann s. zu s. mit ein):</p>
<p>Das geht auf 2 Arten:</p>
<p>1.: Über die Projekteinstellungen:</p>
<p>Projekt -&gt; Einstellungen -&gt; Linker...<br />
unter &quot;Objekt-/Bibiothek-Module:&quot; ans Ende scrollen und &quot; WinMM.lib&quot; anhängen! -Fertig!</p>
<p>2.: im Programmcode:</p>
<p>einfach nach deinen Includes folgende Compileranweisung einsetzen:</p>
<pre><code class="language-cpp">#pragma comment(lib, &quot;WinMM.lib&quot;)
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1076363</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1076363</guid><dc:creator><![CDATA[CodeFinder]]></dc:creator><pubDate>Mon, 12 Jun 2006 16:10:58 GMT</pubDate></item><item><title><![CDATA[Reply to Visual C++ 2005 Problem bei der WinAPi on Mon, 12 Jun 2006 16:32:31 GMT]]></title><description><![CDATA[<p>Jep des habe ich auch schon versucht aber wenn ich das Programm komplieiren will kommt diese Fehlermeldung</p>
<p>D:\Dokumente und Einstellungen\Zayn\Desktop\Makefile.win [Build Error] [Projekt1.exe] Error 1</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1076387</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1076387</guid><dc:creator><![CDATA[Zayn]]></dc:creator><pubDate>Mon, 12 Jun 2006 16:32:31 GMT</pubDate></item><item><title><![CDATA[Reply to Visual C++ 2005 Problem bei der WinAPi on Mon, 12 Jun 2006 16:36:49 GMT]]></title><description><![CDATA[<p>Ähm, welche IDE bzw. Compiler? CodeFinder's Vorschlag war für Microsoft Visual Studio.</p>
<p>Greetz, Swordfish</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1076392</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1076392</guid><dc:creator><![CDATA[Swordfish]]></dc:creator><pubDate>Mon, 12 Jun 2006 16:36:49 GMT</pubDate></item><item><title><![CDATA[Reply to Visual C++ 2005 Problem bei der WinAPi on Mon, 12 Jun 2006 16:51:15 GMT]]></title><description><![CDATA[<p>Swordfish schrieb:</p>
<blockquote>
<p>CodeFinder's Vorschlag war für Microsoft Visual Studio.</p>
</blockquote>
<p>jop sry, vergessen zu sagen... dann hasse vllt. n anderen Compiler...?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1076406</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1076406</guid><dc:creator><![CDATA[CodeFinder]]></dc:creator><pubDate>Mon, 12 Jun 2006 16:51:15 GMT</pubDate></item><item><title><![CDATA[Reply to Visual C++ 2005 Problem bei der WinAPi on Mon, 12 Jun 2006 16:51:57 GMT]]></title><description><![CDATA[<p>Bloodshed devc++ Compiler wieso?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1076407</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1076407</guid><dc:creator><![CDATA[Zayn]]></dc:creator><pubDate>Mon, 12 Jun 2006 16:51:57 GMT</pubDate></item><item><title><![CDATA[Reply to Visual C++ 2005 Problem bei der WinAPi on Mon, 12 Jun 2006 17:00:58 GMT]]></title><description><![CDATA[<p>Zayn schrieb:</p>
<blockquote>
<p>Bloodshed devc++ Compiler wieso?</p>
</blockquote>
<p>Wieso!!!??? Arrrgghhhh *mir die Zähne an der Tischkante ausbeiß und mir auf den Kopf hau*</p>
<p>Weil dir dann alle möglichen Ratschläge eine .lib in <strong>Microsoft Visual Studio</strong> einzubinden logischerweise nicht helfen werden!<br />
Schau in die Hilfe deiner IDE!!!</p>
<p>Greetz, Swordfish</p>
<p>BTW: Bloodshed DevC ist kein Compiler sondern eine IDE und benutzt IMHO den MinGW-Compiler</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1076417</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1076417</guid><dc:creator><![CDATA[Swordfish]]></dc:creator><pubDate>Mon, 12 Jun 2006 17:00:58 GMT</pubDate></item><item><title><![CDATA[Reply to Visual C++ 2005 Problem bei der WinAPi on Mon, 12 Jun 2006 17:04:14 GMT]]></title><description><![CDATA[<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /> konnt ich doch nicht wissen sry! aber jetzt weis ich wenigsten was ich falsch gemacht habe wie dumm von mir naja ich such mir nen neuen Compiler mit dem ich das machen kann dankeschön. <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="🙂"
    /> jetzt kann i weiter machen.</p>
<p>Könntet ihr mir einen empfehlen.</p>
<p>Irgenwie is ma des jetzt peinlich <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f62e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_open_mouth"
      title=":open_mouth:"
      alt="😮"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1076422</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1076422</guid><dc:creator><![CDATA[Zayn]]></dc:creator><pubDate>Mon, 12 Jun 2006 17:04:14 GMT</pubDate></item><item><title><![CDATA[Reply to Visual C++ 2005 Problem bei der WinAPi on Mon, 12 Jun 2006 17:17:17 GMT]]></title><description><![CDATA[<p>Zayn schrieb:</p>
<blockquote>
<p>naja ich such mir nen neuen Compiler mit dem ich das machen kann [...]</p>
</blockquote>
<p>Ich sagte nicht, daß es mit DevC nicht möglich sei!! Bitte ließ, was dasteht! Es ist definitiv möglich, nur weiß ich - in Ermangelung dieses Prunkstücks an Software - nicht worauf du in welcher Reihenfolge klicken musst, wesshalb ich dir geraten habe in <strong>die Hilfedatei von DevC</strong> zu schaun.</p>
<p>Greetz, Swordfish</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1076429</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1076429</guid><dc:creator><![CDATA[Swordfish]]></dc:creator><pubDate>Mon, 12 Jun 2006 17:17:17 GMT</pubDate></item><item><title><![CDATA[Reply to Visual C++ 2005 Problem bei der WinAPi on Mon, 12 Jun 2006 17:12:41 GMT]]></title><description><![CDATA[<p>oki docki i schau mal nach ^^</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1076432</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1076432</guid><dc:creator><![CDATA[Zayn]]></dc:creator><pubDate>Mon, 12 Jun 2006 17:12:41 GMT</pubDate></item><item><title><![CDATA[Reply to Visual C++ 2005 Problem bei der WinAPi on Mon, 12 Jun 2006 17:25:06 GMT]]></title><description><![CDATA[<p>Wobei du sicherlich nciht schlecht geraten wärst anstelle dessen dir mal die Mircrosoft Visual C++ 2005 Express Edition IDE anzugucken...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1076444</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1076444</guid><dc:creator><![CDATA[*D*Evil]]></dc:creator><pubDate>Mon, 12 Jun 2006 17:25:06 GMT</pubDate></item><item><title><![CDATA[Reply to Visual C++ 2005 Problem bei der WinAPi on Mon, 12 Jun 2006 17:44:52 GMT]]></title><description><![CDATA[<p>...ist afaik umsonst. <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/1076454</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1076454</guid><dc:creator><![CDATA[spacegaier]]></dc:creator><pubDate>Mon, 12 Jun 2006 17:44:52 GMT</pubDate></item><item><title><![CDATA[Reply to Visual C++ 2005 Problem bei der WinAPi on Mon, 12 Jun 2006 21:40:06 GMT]]></title><description><![CDATA[<p>Ok ich komm mit der Hilfestellung von dem dev c++ compiler zurecht.</p>
<p>Ich habe mir mal den Mircrosoft Visual C++ 2005 Express Edition IDE runtergeladen aber mit dem komm ich überhaupt nicht klar, den wenn ich den code ausführen will kommen nur Fehler aber ich versteh nicht warum die meldung kommt</p>
<p>Error 1 fatal error C1083: Cannot open include file: 'windows.h': No such file or directory e:\zaynordner\holyzayns bereich\tests\f\Form1.h 6</p>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f621.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--pouting_face"
      title=":rage:"
      alt="😡"
    /> irgendwie bin ich blöd oda!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1076592</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1076592</guid><dc:creator><![CDATA[Zayn]]></dc:creator><pubDate>Mon, 12 Jun 2006 21:40:06 GMT</pubDate></item><item><title><![CDATA[Reply to Visual C++ 2005 Problem bei der WinAPi on Mon, 12 Jun 2006 22:01:16 GMT]]></title><description><![CDATA[<p>siehe in diesem Post (Wie kann man sowas eigentlich 'übersehen' <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /> ?!)<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-143003.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-143003.html</a></p>
<p>speziell hier (!!!): <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="😃"
    /><br />
<strong>Wenn Du WinAPI machen willst (deswegen bist Du ja hier), dann benötigst Du noch das PSDK:</strong><br />
<a href="http://www.microsoft.com/downloads/details.aspx?familyid=D8EECD75-1FC4-49E5-BC66-9DA2B03D9B92&amp;displaylang=en" rel="nofollow">http://www.microsoft.com/downloads/details.aspx?familyid=D8EECD75-1FC4-49E5-BC66-9DA2B03D9B92&amp;displaylang=en</a> (395 MB)</p>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1076599</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1076599</guid><dc:creator><![CDATA[CodeFinder]]></dc:creator><pubDate>Mon, 12 Jun 2006 22:01:16 GMT</pubDate></item><item><title><![CDATA[Reply to Visual C++ 2005 Problem bei der WinAPi on Tue, 13 Jun 2006 07:43:00 GMT]]></title><description><![CDATA[<p>Mal eine ernstgemeinte Frage eines C Programmierers: Was bringen diese ellenlangen potthässlichen reinterpret_cast&lt;&gt; statements und deren ganzen ähnlichen varianten. Kann man damit was besseres machen als mit einem normalen C-cast der 3 mal kompakter aussieht und auch nur 3 mal so wenig schreibarbeit und platz wegnimmt?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1076685</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1076685</guid><dc:creator><![CDATA[Raphael20]]></dc:creator><pubDate>Tue, 13 Jun 2006 07:43:00 GMT</pubDate></item><item><title><![CDATA[Reply to Visual C++ 2005 Problem bei der WinAPi on Wed, 14 Jun 2006 12:20:02 GMT]]></title><description><![CDATA[<p>C Casts in C++ sind einfach nochmal deutlich unsicherer, als Casts ohnehin schon sind. Bsp.:</p>
<pre><code class="language-cpp">// c cast
const char* a = &quot;Hallo&quot;;
char* b = (char*) a;
b[1] = 'e'; // ooops

// c++ cast
const char* a = &quot;Hallo&quot;;
char* b = reinterpret_cast&lt;char*&gt;(a); // Compilerfehler, da const nicht einfach weggecastet werden kann
b[1] = 'e';
</code></pre>
<p>Und dass diese C++ Casts so &quot;hässlich&quot; aussehen und in ihrer Anwendung sind, hat einfach den Grund, dass man sie so möglichst meidet. Was generell in guter Vorsatz für Casts ist. Leider glauben einige Leute, dass es deshalb &quot;schöner&quot; ist, stattdessen einfach C Casts zu benutzen. Allerdings ist das ein Irrglaube.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1077552</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1077552</guid><dc:creator><![CDATA[groovemaster]]></dc:creator><pubDate>Wed, 14 Jun 2006 12:20:02 GMT</pubDate></item><item><title><![CDATA[Reply to Visual C++ 2005 Problem bei der WinAPi on Wed, 14 Jun 2006 12:23:32 GMT]]></title><description><![CDATA[<p>Hmm also ich find das:</p>
<pre><code class="language-cpp">// c++ cast
const char* a = &quot;Hallo&quot;;
char* b = reinterpret_cast&lt;char*&gt;(a); // Compilerfehler, da const nicht einfach weggecastet werden kann
b[1] = 'e';
</code></pre>
<p>sieht wesentlich eleganter aus als das:</p>
<pre><code class="language-cpp">// c cast
const char* a = &quot;Hallo&quot;;
char* b = (char*) a;
b[1] = 'e'; // ooops
</code></pre>
<p>Is nu n bissl mehr zu tippen :p</p>
<p>mal so btw :p</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1077557</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1077557</guid><dc:creator><![CDATA[CodeFinder]]></dc:creator><pubDate>Wed, 14 Jun 2006 12:23:32 GMT</pubDate></item><item><title><![CDATA[Reply to Visual C++ 2005 Problem bei der WinAPi on Wed, 14 Jun 2006 15:13:42 GMT]]></title><description><![CDATA[<p>Naja wer so einen Schmarrn castet sollte besser nochmal ein Buch lesen. Finde ich unnötig...der Compiler muss mich doch nicht wegen meiner eigenen Blödheit warnen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1077714</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1077714</guid><dc:creator><![CDATA[Raphael20]]></dc:creator><pubDate>Wed, 14 Jun 2006 15:13:42 GMT</pubDate></item><item><title><![CDATA[Reply to Visual C++ 2005 Problem bei der WinAPi on Sat, 17 Jun 2006 23:47:53 GMT]]></title><description><![CDATA[<p>Ähm ich habe mir diese 2 sachen runtergezogen und installiert aber ich komme damit nicht klar , den es kommen die gleichen Fehlermeldungen wie vorher und die Hilfe hilft mir auch nicht <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f62e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_open_mouth"
      title=":open_mouth:"
      alt="😮"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1078400</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1078400</guid><dc:creator><![CDATA[Zayn]]></dc:creator><pubDate>Sat, 17 Jun 2006 23:47:53 GMT</pubDate></item></channel></rss>