<?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[RC. zu icluden]]></title><description><![CDATA[<p>Hi leute ,</p>
<p>ich habe mal ne frage?</p>
<p>Ich habe mit dev C++ mir nen Source Code erstellen lassen und möchte nun meine rc datei hinzufügen geht aber nicht Compiler fehler unbekannt....</p>
<p>hier der Source code der rc datei</p>
<p>resource.rc</p>
<p>#include &quot;resource.h&quot;<br />
#include &lt;windows.h&gt;</p>
<p>MENU</p>
<p>IDR_MAINFRAME MENU</p>
<p>Beginn<br />
POPUP &quot;&amp;Datei&quot;<br />
Beginn<br />
MENUITEM &quot;Be&amp;enden\Alt F4&quot;<br />
ID_APP_EXIT</p>
<p>END</p>
<p>END</p>
<p>und Souce code von der datei:</p>
<p>include &lt;windows.h&gt;</p>
<p>/* Declare Windows procedure */<br />
LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM);</p>
<p>/* Make the class name into a global variable */<br />
<div class="plugin-markdown"><input type="checkbox" id="checkbox100021" /><label for="checkbox100021">= &quot;Deutsche Post VG v. 0.001 Beta&quot;;</label></div></p>
<p>int WINAPI<br />
WinMain (HINSTANCE hThisInstance,<br />
HINSTANCE hPrevInstance,<br />
LPSTR lpszArgument,<br />
int nFunsterStil)</p>
<p>{<br />
HWND hwnd; /* This is the handle for our window <em>/<br />
MSG messages; /</em> Here messages to the application are saved <em>/<br />
WNDCLASSEX wincl; /</em> Data structure for the windowclass */</p>
<p>/* The Window structure <em>/<br />
wincl.hInstance = hThisInstance;<br />
wincl.lpszClassName = szClassName;<br />
wincl.lpfnWndProc = WindowProcedure; /</em> This function is called by windows <em>/<br />
wincl.style = CS_DBLCLKS; /</em> Catch double-clicks */<br />
wincl.cbSize = sizeof (WNDCLASSEX);</p>
<p>/* Use default icon and mouse-pointer <em>/<br />
wincl.hIcon = LoadIcon (NULL, IDI_APPLICATION);<br />
wincl.hIconSm = LoadIcon (NULL, IDI_APPLICATION);<br />
wincl.hCursor = LoadCursor (NULL, IDC_ARROW);<br />
wincl.lpszMenuName = NULL; /</em> No menu <em>/<br />
wincl.cbClsExtra = 0; /</em> No extra bytes after the window class <em>/<br />
wincl.cbWndExtra = 0; /</em> structure or the window instance */<br />
/* Use Windows's default color as the background of the window */<br />
wincl.hbrBackground = (HBRUSH) COLOR_BACKGROUND;</p>
<p>/* Register the window class, and if it fails quit the program */<br />
if (!RegisterClassEx (&amp;wincl))<br />
return 0;</p>
<p>/* The class is registered, let's create the program*/<br />
hwnd = CreateWindowEx (<br />
0, /* Extended possibilites for variation <em>/<br />
szClassName, /</em> Classname <em>/<br />
&quot;Deutsche Post VG v. 0.001 Beta&quot;, /</em> Title Text <em>/<br />
WS_OVERLAPPEDWINDOW, /</em> default window <em>/<br />
CW_USEDEFAULT, /</em> Windows decides the position <em>/<br />
CW_USEDEFAULT, /</em> where the window ends up on the screen <em>/<br />
544, /</em> The programs width <em>/<br />
375, /</em> and height in pixels <em>/<br />
HWND_DESKTOP, /</em> The window is a child-window to desktop <em>/<br />
NULL, /</em> No menu <em>/<br />
hThisInstance, /</em> Program Instance handler <em>/<br />
NULL /</em> No Window Creation data */<br />
);</p>
<p>/* Make the window visible on the screen */<br />
ShowWindow (hwnd, nFunsterStil);</p>
<p>/* Run the message loop. It will run until GetMessage() returns 0 */<br />
while (GetMessage (&amp;messages, NULL, 0, 0))<br />
{<br />
/* Translate virtual-key messages into character messages */<br />
TranslateMessage(&amp;messages);<br />
/* Send message to WindowProcedure */<br />
DispatchMessage(&amp;messages);<br />
}</p>
<p>/* The program return-value is 0 - The value that PostQuitMessage() gave */<br />
return messages.wParam;<br />
}</p>
<p>/* This function is called by the Windows function DispatchMessage() */</p>
<p>LRESULT CALLBACK<br />
WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)<br />
{<br />
switch (message) /* handle the messages <em>/<br />
{<br />
case WM_DESTROY:<br />
PostQuitMessage (0); /</em> send a WM_QUIT to the message queue <em>/<br />
break;<br />
default: /</em> for messages that we don't deal with */<br />
return DefWindowProc (hwnd, message, wParam, lParam);<br />
}</p>
<p>return 0;<br />
}</p>
<p>könnet ihr mir helfen</p>
<p>THX</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/102647/rc-zu-icluden</link><generator>RSS for Node</generator><lastBuildDate>Fri, 01 May 2026 10:56:01 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/102647.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 28 Feb 2005 13:07:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to RC. zu icluden on Mon, 28 Feb 2005 13:07:33 GMT]]></title><description><![CDATA[<p>Hi leute ,</p>
<p>ich habe mal ne frage?</p>
<p>Ich habe mit dev C++ mir nen Source Code erstellen lassen und möchte nun meine rc datei hinzufügen geht aber nicht Compiler fehler unbekannt....</p>
<p>hier der Source code der rc datei</p>
<p>resource.rc</p>
<p>#include &quot;resource.h&quot;<br />
#include &lt;windows.h&gt;</p>
<p>MENU</p>
<p>IDR_MAINFRAME MENU</p>
<p>Beginn<br />
POPUP &quot;&amp;Datei&quot;<br />
Beginn<br />
MENUITEM &quot;Be&amp;enden\Alt F4&quot;<br />
ID_APP_EXIT</p>
<p>END</p>
<p>END</p>
<p>und Souce code von der datei:</p>
<p>include &lt;windows.h&gt;</p>
<p>/* Declare Windows procedure */<br />
LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM);</p>
<p>/* Make the class name into a global variable */<br />
<div class="plugin-markdown"><input type="checkbox" id="checkbox100021" /><label for="checkbox100021">= &quot;Deutsche Post VG v. 0.001 Beta&quot;;</label></div></p>
<p>int WINAPI<br />
WinMain (HINSTANCE hThisInstance,<br />
HINSTANCE hPrevInstance,<br />
LPSTR lpszArgument,<br />
int nFunsterStil)</p>
<p>{<br />
HWND hwnd; /* This is the handle for our window <em>/<br />
MSG messages; /</em> Here messages to the application are saved <em>/<br />
WNDCLASSEX wincl; /</em> Data structure for the windowclass */</p>
<p>/* The Window structure <em>/<br />
wincl.hInstance = hThisInstance;<br />
wincl.lpszClassName = szClassName;<br />
wincl.lpfnWndProc = WindowProcedure; /</em> This function is called by windows <em>/<br />
wincl.style = CS_DBLCLKS; /</em> Catch double-clicks */<br />
wincl.cbSize = sizeof (WNDCLASSEX);</p>
<p>/* Use default icon and mouse-pointer <em>/<br />
wincl.hIcon = LoadIcon (NULL, IDI_APPLICATION);<br />
wincl.hIconSm = LoadIcon (NULL, IDI_APPLICATION);<br />
wincl.hCursor = LoadCursor (NULL, IDC_ARROW);<br />
wincl.lpszMenuName = NULL; /</em> No menu <em>/<br />
wincl.cbClsExtra = 0; /</em> No extra bytes after the window class <em>/<br />
wincl.cbWndExtra = 0; /</em> structure or the window instance */<br />
/* Use Windows's default color as the background of the window */<br />
wincl.hbrBackground = (HBRUSH) COLOR_BACKGROUND;</p>
<p>/* Register the window class, and if it fails quit the program */<br />
if (!RegisterClassEx (&amp;wincl))<br />
return 0;</p>
<p>/* The class is registered, let's create the program*/<br />
hwnd = CreateWindowEx (<br />
0, /* Extended possibilites for variation <em>/<br />
szClassName, /</em> Classname <em>/<br />
&quot;Deutsche Post VG v. 0.001 Beta&quot;, /</em> Title Text <em>/<br />
WS_OVERLAPPEDWINDOW, /</em> default window <em>/<br />
CW_USEDEFAULT, /</em> Windows decides the position <em>/<br />
CW_USEDEFAULT, /</em> where the window ends up on the screen <em>/<br />
544, /</em> The programs width <em>/<br />
375, /</em> and height in pixels <em>/<br />
HWND_DESKTOP, /</em> The window is a child-window to desktop <em>/<br />
NULL, /</em> No menu <em>/<br />
hThisInstance, /</em> Program Instance handler <em>/<br />
NULL /</em> No Window Creation data */<br />
);</p>
<p>/* Make the window visible on the screen */<br />
ShowWindow (hwnd, nFunsterStil);</p>
<p>/* Run the message loop. It will run until GetMessage() returns 0 */<br />
while (GetMessage (&amp;messages, NULL, 0, 0))<br />
{<br />
/* Translate virtual-key messages into character messages */<br />
TranslateMessage(&amp;messages);<br />
/* Send message to WindowProcedure */<br />
DispatchMessage(&amp;messages);<br />
}</p>
<p>/* The program return-value is 0 - The value that PostQuitMessage() gave */<br />
return messages.wParam;<br />
}</p>
<p>/* This function is called by the Windows function DispatchMessage() */</p>
<p>LRESULT CALLBACK<br />
WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)<br />
{<br />
switch (message) /* handle the messages <em>/<br />
{<br />
case WM_DESTROY:<br />
PostQuitMessage (0); /</em> send a WM_QUIT to the message queue <em>/<br />
break;<br />
default: /</em> for messages that we don't deal with */<br />
return DefWindowProc (hwnd, message, wParam, lParam);<br />
}</p>
<p>return 0;<br />
}</p>
<p>könnet ihr mir helfen</p>
<p>THX</p>
]]></description><link>https://www.c-plusplus.net/forum/post/734253</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/734253</guid><dc:creator><![CDATA[Fat-Tiger]]></dc:creator><pubDate>Mon, 28 Feb 2005 13:07:33 GMT</pubDate></item><item><title><![CDATA[Reply to RC. zu icluden on Mon, 28 Feb 2005 13:44:18 GMT]]></title><description><![CDATA[<p>[cpp]<br />
// und Souce code von der datei:</p>
<p>#include &lt;windows.h&gt;</p>
<p>**#include &quot;resource.h&quot;<br />
**<br />
/* Declare Windows procedure */<br />
LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM);[/cpp]</p>
]]></description><link>https://www.c-plusplus.net/forum/post/734286</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/734286</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Mon, 28 Feb 2005 13:44:18 GMT</pubDate></item><item><title><![CDATA[Reply to RC. zu icluden on Mon, 28 Feb 2005 13:49:14 GMT]]></title><description><![CDATA[<p>Nein der Compilirt die rc nicht..</p>
]]></description><link>https://www.c-plusplus.net/forum/post/734290</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/734290</guid><dc:creator><![CDATA[Fat-Tiger]]></dc:creator><pubDate>Mon, 28 Feb 2005 13:49:14 GMT</pubDate></item><item><title><![CDATA[Reply to RC. zu icluden on Mon, 28 Feb 2005 14:06:44 GMT]]></title><description><![CDATA[<p>jetzt sehe ich erst <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>
<pre><code class="language-cpp">// resource.rc
#include &lt;windows.h&gt;
#include &quot;resource.h&quot;

IDR_MAINFRAME MENU
{
 POPUP &quot;&amp;Datei&quot;
 {
  MENUITEM &quot;Be&amp;enden\Alt F4&quot;,     ID_APP_EXIT 
 }
}
</code></pre>
<p><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcesdkr/html/_Tools_Resource_Definition_Statements.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcesdkr/html/_Tools_Resource_Definition_Statements.asp</a></p>
<p>natürlich kannst du auch begin und end benutzen allerdings solltest du sie dann auch gross schreiben <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>
<p>falls es nicht an dem syntax liegt. projekt optionen --&gt; dateien --&gt; rc auswählen --&gt; mit kompilieren</p>
]]></description><link>https://www.c-plusplus.net/forum/post/734301</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/734301</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Mon, 28 Feb 2005 14:06:44 GMT</pubDate></item><item><title><![CDATA[Reply to RC. zu icluden on Tue, 01 Mar 2005 09:25:30 GMT]]></title><description><![CDATA[<p>JA toll was sollte ich da auf der seite machen ich nutze kein MSDN</p>
]]></description><link>https://www.c-plusplus.net/forum/post/734942</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/734942</guid><dc:creator><![CDATA[Fat-Tiger]]></dc:creator><pubDate>Tue, 01 Mar 2005 09:25:30 GMT</pubDate></item><item><title><![CDATA[Reply to RC. zu icluden on Tue, 01 Mar 2005 09:41:14 GMT]]></title><description><![CDATA[<p>Fat-Tiger schrieb:</p>
<blockquote>
<p>JA toll was sollte ich da auf der seite machen ich nutze kein MSDN</p>
</blockquote>
<p>vielleicht lesen <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="😃"
    /> und die unterpunkte auf der rechten seite natürlich auch.<br />
denn wenn ich die MENU resource anschaue sehe ich den syntax <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="😮"
    /><br />
was heisst du nutzt keine msdn <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 />
msdn ist die bibel für die windows programmierung.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/734951</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/734951</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Tue, 01 Mar 2005 09:41:14 GMT</pubDate></item></channel></rss>