<?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[FormatMessage direkt aus der Resource]]></title><description><![CDATA[<p>Hallo Comm,</p>
<p>Ich habe mich in der MSDN über die Func FormatMessage schlau gemacht. Dort habe ich auch die Beispiele einmal ausprobiert und ich muss sagen, ich bin begeiestert.</p>
<p>Meine Frage lautet nun, wie kann ich die Strings, die formatiert werden sollen, direkt von der Resource laden? Da steht zwar, dass das geht, aber kein beispiel.<br />
Deshalb wollte ich euch darum bitten, mir das näherzubringen.</p>
<p>Danke.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/203772/formatmessage-direkt-aus-der-resource</link><generator>RSS for Node</generator><lastBuildDate>Mon, 27 Apr 2026 02:18:40 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/203772.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 26 Jan 2008 12:00:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to FormatMessage direkt aus der Resource on Sat, 26 Jan 2008 12:00:52 GMT]]></title><description><![CDATA[<p>Hallo Comm,</p>
<p>Ich habe mich in der MSDN über die Func FormatMessage schlau gemacht. Dort habe ich auch die Beispiele einmal ausprobiert und ich muss sagen, ich bin begeiestert.</p>
<p>Meine Frage lautet nun, wie kann ich die Strings, die formatiert werden sollen, direkt von der Resource laden? Da steht zwar, dass das geht, aber kein beispiel.<br />
Deshalb wollte ich euch darum bitten, mir das näherzubringen.</p>
<p>Danke.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1443934</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1443934</guid><dc:creator><![CDATA[Script-Styler]]></dc:creator><pubDate>Sat, 26 Jan 2008 12:00:52 GMT</pubDate></item><item><title><![CDATA[Reply to FormatMessage direkt aus der Resource on Sat, 26 Jan 2008 12:24:09 GMT]]></title><description><![CDATA[<p>Borland-Hilfe schrieb:</p>
<blockquote>
<p>The LoadString function loads a string resource from the executable file associated with a specified module, copies the string into a buffer, and appends a terminating null character.</p>
<p>int LoadString(</p>
<p>HINSTANCE hInstance, // handle of module containing string resource<br />
UINT uID, // resource identifier<br />
LPTSTR lpBuffer, // address of buffer for resource<br />
int nBufferMax // size of buffer<br />
);</p>
<p>Parameters</p>
<p>hInstance</p>
<p>Identifies an instance of the module whose executable file contains the string resource.</p>
<p>uID</p>
<p>Specifies the integer identifier of the string to be loaded.</p>
<p>lpBuffer</p>
<p>Points to the buffer to receive the string.</p>
<p>nBufferMax</p>
<p>Specifies the size of the buffer in bytes (ANSI version) or characters (Unicode version). The string is truncated and null terminated if it is longer than the number of characters specified.</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1443944</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1443944</guid><dc:creator><![CDATA[Elektronix]]></dc:creator><pubDate>Sat, 26 Jan 2008 12:24:09 GMT</pubDate></item><item><title><![CDATA[Reply to FormatMessage direkt aus der Resource on Sat, 26 Jan 2008 12:27:44 GMT]]></title><description><![CDATA[<p>ach lol!</p>
<p>das kenn ich doch selber.</p>
<p>aber es ist aufwendiger, den string erst in einen puffer zu laden, und anschließend zu formatieren. die FormatMessage macht das in einem schritt und ich wollte von euch nähergebracht haben, was ich da machen muss.</p>
<p>Danke.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1443946</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1443946</guid><dc:creator><![CDATA[Script-Styler]]></dc:creator><pubDate>Sat, 26 Jan 2008 12:27:44 GMT</pubDate></item></channel></rss>