<?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[No such file or directory.]]></title><description><![CDATA[<p>huhu</p>
<p>also ich hab folgendes Problem</p>
<pre><code>#include &lt;windows.h&gt;
#include &quot;recource.h&quot;

HINSTANCE hInst;
LRESULT CALLBACK WindProcedure(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam);

INT WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
                   LPSTR lpCmdLine, int nCmdShow)
{
    WNDCLASSEX  WndCls;
    static char szAppName[] = &quot;BitmapIntro&quot;;
    MSG         Msg;

	hInst       = hInstance;
    WndCls.cbSize        = sizeof(WndCls);
    WndCls.style         = CS_OWNDC | CS_VREDRAW | CS_HREDRAW;
    WndCls.lpfnWndProc   = WindProcedure;
    WndCls.cbClsExtra    = 0;
    WndCls.cbWndExtra    = 0;
    WndCls.hInstance     = hInst;
    WndCls.hIcon         = LoadIcon(NULL, IDI_APPLICATION);
    WndCls.hCursor       = LoadCursor(NULL, IDC_ARROW);
    WndCls.hbrBackground = (HBRUSH)GetStockObject(WHITE_BRUSH);
    WndCls.lpszMenuName  = NULL;
    WndCls.lpszClassName = szAppName;
    WndCls.hIconSm       = LoadIcon(hInstance, IDI_APPLICATION);
    RegisterClassEx(&amp;WndCls);

    CreateWindowEx(WS_EX_OVERLAPPEDWINDOW,
                          szAppName,
                          &quot;Bitmaps Fundamentals&quot;,
                          WS_OVERLAPPEDWINDOW | WS_VISIBLE,
                          CW_USEDEFAULT,
                          CW_USEDEFAULT,
                          CW_USEDEFAULT,
                          CW_USEDEFAULT,
                          NULL,
                          NULL,
                          hInstance,
                          NULL);

    while( GetMessage(&amp;Msg, NULL, 0, 0) )
    {
        TranslateMessage(&amp;Msg);
        DispatchMessage( &amp;Msg);
    }

    return static_cast&lt;int&gt;(Msg.wParam);
}

LRESULT CALLBACK WindProcedure(HWND hWnd, UINT Msg,
			   WPARAM wParam, LPARAM lParam)
{
    HDC hDC, MemDCExercising;
    PAINTSTRUCT Ps;
    HBITMAP bmpExercising;

    switch(Msg)
    {
	case WM_DESTROY:
	    PostQuitMessage(WM_QUIT);
	    break;
	case WM_PAINT:
	    hDC = BeginPaint(hWnd, &amp;Ps);

	    // Load the bitmap from the resource
	    bmpExercising = LoadBitmap(hInst, MAKEINTRESOURCE(1000));
	    // Create a memory device compatible with the above DC variable
	    MemDCExercising = CreateCompatibleDC(hDC);
             // Select the new bitmap
             SelectObject(MemDCExercising, bmpExercising);

	    // Copy the bits from the memory DC into the current dc
	    BitBlt(hDC, 10, 10, 450, 400, MemDCExercising, 0, 0, SRCCOPY);

	    // Restore the old bitmap
	    DeleteDC(MemDCExercising);
	    DeleteObject(bmpExercising);
	    EndPaint(hWnd, &amp;Ps);
	    break;
	default:
	    return DefWindowProc(hWnd, Msg, wParam, lParam);
    }
    return 0;
}
</code></pre>
<p>.h</p>
<pre><code>#define ID_BITMAP1 1000
</code></pre>
<p>.rc</p>
<pre><code>#include &lt;windows.h&gt;
#include &quot;Resource.h&quot;

ID_BITMAP1 BITMAP &quot;exercise.bmp&quot;
</code></pre>
<p>sobald ich diesen Code compilieren will kommt folgender Fehler</p>
<p>4 C:\Dokumente und Einstellungen\HoPPeL\Desktop\test_private.rc In file included from test_private.rc</p>
<p>2 C:\Dev-Cpp\Templates\Recource.rc Resource.h: No such file or directory.</p>
<p>bloß jetzt ist die frage, die ich mir schon ne weile stelle, woran liegt es??<br />
thx schon mal die lösung ist bestimmt ganz einfach und ich schäm mich jetzt schon <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="😞"
    /></p>
<p>mfg</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/139458/no-such-file-or-directory</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Jul 2026 13:39:11 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/139458.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 06 Mar 2006 20:49:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to No such file or directory. on Mon, 06 Mar 2006 20:49:45 GMT]]></title><description><![CDATA[<p>huhu</p>
<p>also ich hab folgendes Problem</p>
<pre><code>#include &lt;windows.h&gt;
#include &quot;recource.h&quot;

HINSTANCE hInst;
LRESULT CALLBACK WindProcedure(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam);

INT WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
                   LPSTR lpCmdLine, int nCmdShow)
{
    WNDCLASSEX  WndCls;
    static char szAppName[] = &quot;BitmapIntro&quot;;
    MSG         Msg;

	hInst       = hInstance;
    WndCls.cbSize        = sizeof(WndCls);
    WndCls.style         = CS_OWNDC | CS_VREDRAW | CS_HREDRAW;
    WndCls.lpfnWndProc   = WindProcedure;
    WndCls.cbClsExtra    = 0;
    WndCls.cbWndExtra    = 0;
    WndCls.hInstance     = hInst;
    WndCls.hIcon         = LoadIcon(NULL, IDI_APPLICATION);
    WndCls.hCursor       = LoadCursor(NULL, IDC_ARROW);
    WndCls.hbrBackground = (HBRUSH)GetStockObject(WHITE_BRUSH);
    WndCls.lpszMenuName  = NULL;
    WndCls.lpszClassName = szAppName;
    WndCls.hIconSm       = LoadIcon(hInstance, IDI_APPLICATION);
    RegisterClassEx(&amp;WndCls);

    CreateWindowEx(WS_EX_OVERLAPPEDWINDOW,
                          szAppName,
                          &quot;Bitmaps Fundamentals&quot;,
                          WS_OVERLAPPEDWINDOW | WS_VISIBLE,
                          CW_USEDEFAULT,
                          CW_USEDEFAULT,
                          CW_USEDEFAULT,
                          CW_USEDEFAULT,
                          NULL,
                          NULL,
                          hInstance,
                          NULL);

    while( GetMessage(&amp;Msg, NULL, 0, 0) )
    {
        TranslateMessage(&amp;Msg);
        DispatchMessage( &amp;Msg);
    }

    return static_cast&lt;int&gt;(Msg.wParam);
}

LRESULT CALLBACK WindProcedure(HWND hWnd, UINT Msg,
			   WPARAM wParam, LPARAM lParam)
{
    HDC hDC, MemDCExercising;
    PAINTSTRUCT Ps;
    HBITMAP bmpExercising;

    switch(Msg)
    {
	case WM_DESTROY:
	    PostQuitMessage(WM_QUIT);
	    break;
	case WM_PAINT:
	    hDC = BeginPaint(hWnd, &amp;Ps);

	    // Load the bitmap from the resource
	    bmpExercising = LoadBitmap(hInst, MAKEINTRESOURCE(1000));
	    // Create a memory device compatible with the above DC variable
	    MemDCExercising = CreateCompatibleDC(hDC);
             // Select the new bitmap
             SelectObject(MemDCExercising, bmpExercising);

	    // Copy the bits from the memory DC into the current dc
	    BitBlt(hDC, 10, 10, 450, 400, MemDCExercising, 0, 0, SRCCOPY);

	    // Restore the old bitmap
	    DeleteDC(MemDCExercising);
	    DeleteObject(bmpExercising);
	    EndPaint(hWnd, &amp;Ps);
	    break;
	default:
	    return DefWindowProc(hWnd, Msg, wParam, lParam);
    }
    return 0;
}
</code></pre>
<p>.h</p>
<pre><code>#define ID_BITMAP1 1000
</code></pre>
<p>.rc</p>
<pre><code>#include &lt;windows.h&gt;
#include &quot;Resource.h&quot;

ID_BITMAP1 BITMAP &quot;exercise.bmp&quot;
</code></pre>
<p>sobald ich diesen Code compilieren will kommt folgender Fehler</p>
<p>4 C:\Dokumente und Einstellungen\HoPPeL\Desktop\test_private.rc In file included from test_private.rc</p>
<p>2 C:\Dev-Cpp\Templates\Recource.rc Resource.h: No such file or directory.</p>
<p>bloß jetzt ist die frage, die ich mir schon ne weile stelle, woran liegt es??<br />
thx schon mal die lösung ist bestimmt ganz einfach und ich schäm mich jetzt schon <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="😞"
    /></p>
<p>mfg</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1010102</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1010102</guid><dc:creator><![CDATA[HoPPeL]]></dc:creator><pubDate>Mon, 06 Mar 2006 20:49:45 GMT</pubDate></item><item><title><![CDATA[Reply to No such file or directory. on Tue, 07 Mar 2006 06:34:07 GMT]]></title><description><![CDATA[<p>Wie mir scheint, liegen deine Dateien nicht im gleichen Verzeichniss, deswegen kann Resource.h nicht eingebunden werden. Mich verwirren auch die 2 verschiedenen Fehlermeldungen. Benutzt du etwa 2 mal eine *.rc Datei?<br />
Probier mal die *.rc und dazugehörigen *.h Dateien in ein Verzeichniss zu legen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1010214</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1010214</guid><dc:creator><![CDATA[Offer Help need $$$]]></dc:creator><pubDate>Tue, 07 Mar 2006 06:34:07 GMT</pubDate></item><item><title><![CDATA[Reply to No such file or directory. on Tue, 07 Mar 2006 13:20:06 GMT]]></title><description><![CDATA[<p>hmm ich hab jetzt noch mal alle files in einen extra ordern gepackt...<br />
in diesem befinden sich jetzt</p>
<p>exercise.bmp<br />
Exercise.cpp<br />
Resource.rc<br />
Resource.h<br />
test.dev</p>
<p>aber der Fehler bleibt der gleiche <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="😞"
    /></p>
<p>mfg</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1010507</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1010507</guid><dc:creator><![CDATA[HoPPeL]]></dc:creator><pubDate>Tue, 07 Mar 2006 13:20:06 GMT</pubDate></item><item><title><![CDATA[Reply to No such file or directory. on Tue, 07 Mar 2006 20:36:14 GMT]]></title><description><![CDATA[<p>wer ne idde??</p>
<p>mfg</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1011028</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1011028</guid><dc:creator><![CDATA[HoPPeL]]></dc:creator><pubDate>Tue, 07 Mar 2006 20:36:14 GMT</pubDate></item></channel></rss>