<?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[NetMessageBufferSend will net]]></title><description><![CDATA[<p>Hi,</p>
<p>ich möchte gerne eine MSG an einen Freund senden per Internet, doch das will nicht...</p>
<pre><code class="language-cpp">#include &lt;windows.h&gt;
#include &lt;Lm.h&gt;
#   pragma comment(lib, &quot;Netapi32.lib&quot;)

int __stdcall WinMain(HINSTANCE__ *Instance, HINSTANCE__ *prevInstance, char *cmdLine, int cmdShow) 
{
	NetMessageBufferSend(NULL, L&quot;xxx.xxx.xxx.xxx&quot;, L&quot;Hallo&quot;, (LPBYTE) L&quot;HUHU DU DA&quot;, strlen(&quot;HUHU DU DA&quot;)*2);
	return 0;
}
</code></pre>
<p>Was stimmt da nicht? Er bekommt einfach keine Nachricht.... Nachrichten dienst ist an bei uns beiden.</p>
<p>Was muss ich alles machen damit das richtig per Internet funzt?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/72238/netmessagebuffersend-will-net</link><generator>RSS for Node</generator><lastBuildDate>Thu, 09 Apr 2026 21:59:44 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/72238.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 26 Apr 2004 17:00:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to NetMessageBufferSend will net on Mon, 26 Apr 2004 17:00:58 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>ich möchte gerne eine MSG an einen Freund senden per Internet, doch das will nicht...</p>
<pre><code class="language-cpp">#include &lt;windows.h&gt;
#include &lt;Lm.h&gt;
#   pragma comment(lib, &quot;Netapi32.lib&quot;)

int __stdcall WinMain(HINSTANCE__ *Instance, HINSTANCE__ *prevInstance, char *cmdLine, int cmdShow) 
{
	NetMessageBufferSend(NULL, L&quot;xxx.xxx.xxx.xxx&quot;, L&quot;Hallo&quot;, (LPBYTE) L&quot;HUHU DU DA&quot;, strlen(&quot;HUHU DU DA&quot;)*2);
	return 0;
}
</code></pre>
<p>Was stimmt da nicht? Er bekommt einfach keine Nachricht.... Nachrichten dienst ist an bei uns beiden.</p>
<p>Was muss ich alles machen damit das richtig per Internet funzt?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/509324</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/509324</guid><dc:creator><![CDATA[blub33]]></dc:creator><pubDate>Mon, 26 Apr 2004 17:00:58 GMT</pubDate></item><item><title><![CDATA[Reply to NetMessageBufferSend will net on Mon, 26 Apr 2004 20:02:48 GMT]]></title><description><![CDATA[<p>*push*</p>
]]></description><link>https://www.c-plusplus.net/forum/post/509450</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/509450</guid><dc:creator><![CDATA[blub33]]></dc:creator><pubDate>Mon, 26 Apr 2004 20:02:48 GMT</pubDate></item><item><title><![CDATA[Reply to NetMessageBufferSend will net on Tue, 27 Apr 2004 18:15:50 GMT]]></title><description><![CDATA[<p>bitte, kennt keiner eine antwort? ich finde bei google nix zu meinem problem <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>
]]></description><link>https://www.c-plusplus.net/forum/post/510004</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/510004</guid><dc:creator><![CDATA[blub33]]></dc:creator><pubDate>Tue, 27 Apr 2004 18:15:50 GMT</pubDate></item><item><title><![CDATA[Reply to NetMessageBufferSend will net on Tue, 27 Apr 2004 19:14:47 GMT]]></title><description><![CDATA[<p>Die Funktion sagt Dir eigentlich recht genau, was nicht paßt...</p>
<p>Was liefert sie Dir denn zurück?</p>
<p>Ansonsten: <a href="http://www.c-plusplus.net/forum/topic,15924.html" rel="nofollow">http://www.c-plusplus.net/forum/topic,15924.html</a></p>
<p>Zitat aus der <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netmgmt/netmgmt/netmessagebuffersend.asp" rel="nofollow">MSDN</a>:</p>
<p>MSDN schrieb:</p>
<blockquote>
<p>If the function fails, the return value can be one of the following error codes.</p>
<p>Return code Description<br />
ERROR_ACCESS_DENIED The user does not have access to the requested information.<br />
ERROR_INVALID_PARAMETER The specified parameter is invalid.<br />
ERROR_NOT_SUPPORTED This network request is not supported.<br />
NERR_NameNotFound The user name could not be found.<br />
NERR_NetworkError A general failure occurred in the network hardware.</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/510041</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/510041</guid><dc:creator><![CDATA[Hepi]]></dc:creator><pubDate>Tue, 27 Apr 2004 19:14:47 GMT</pubDate></item></channel></rss>