<?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[RS232 in C++ ansprechen]]></title><description><![CDATA[<p>Ich muss ein kleines Projekt machen bei dem ich erklären muss wie man die serielle Schnittstelle anspricht.<br />
Das Programm soll mit dem Borland C++ Builder gemacht werden.<br />
Gibt es hier ein Tutorial oder hat das schonmal jemand gemacht.</p>
<p>Wo finde ich Informationen zum ansprechen der seriellen Schnittstelle mit C++ (auf Deutsch, mein Englisch ist überhaupt nicht gut).</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/123067/rs232-in-c-ansprechen</link><generator>RSS for Node</generator><lastBuildDate>Mon, 06 Jul 2026 11:17:05 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/123067.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 12 Oct 2005 15:21:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to RS232 in C++ ansprechen on Wed, 12 Oct 2005 15:21:33 GMT]]></title><description><![CDATA[<p>Ich muss ein kleines Projekt machen bei dem ich erklären muss wie man die serielle Schnittstelle anspricht.<br />
Das Programm soll mit dem Borland C++ Builder gemacht werden.<br />
Gibt es hier ein Tutorial oder hat das schonmal jemand gemacht.</p>
<p>Wo finde ich Informationen zum ansprechen der seriellen Schnittstelle mit C++ (auf Deutsch, mein Englisch ist überhaupt nicht gut).</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/890759</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/890759</guid><dc:creator><![CDATA[hans1984]]></dc:creator><pubDate>Wed, 12 Oct 2005 15:21:33 GMT</pubDate></item><item><title><![CDATA[Reply to RS232 in C++ ansprechen on Wed, 12 Oct 2005 15:49:58 GMT]]></title><description><![CDATA[<p>Hallo,<br />
habe auch ein Problem mit dem ComPort unter XP. So sollte er normalerweise geöffnet werden. Es erscheint aber immer die Meldung. Hier mein Code:</p>
<pre><code class="language-cpp">HANDLE hCom;

hCom = CreateFile( &quot;COM1&quot;, GENERIC_READ | GENERIC_WRITE, 0, 0,
 		       OPEN_EXISTING, 0, 0);

if (hCom == INVALID_HANDLE_VALUE)
 Application-&gt;MessageBox(&quot;Fehler beim Öffnen des Ports&quot;, &quot;Port öffnen&quot;, MB_OK);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/890783</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/890783</guid><dc:creator><![CDATA[timomueller]]></dc:creator><pubDate>Wed, 12 Oct 2005 15:49:58 GMT</pubDate></item><item><title><![CDATA[Reply to RS232 in C++ ansprechen on Thu, 13 Oct 2005 05:39:25 GMT]]></title><description><![CDATA[<p>Versuch's mal damit, das beschreibt den Fehler genauer:</p>
<pre><code class="language-cpp">if (hCom == NULL || hCom == INVALID_HANDLE_VALUE) 
{ // Fehlerausgabe:
  LPVOID lpMsgBuf;
  FormatMessage (FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | 
                  FORMAT_MESSAGE_IGNORE_INSERTS,
                 NULL, GetLastError (), 
                 MAKELANGID (LANG_NEUTRAL, SUBLANG_DEFAULT),
                 (LPTSTR) &amp;lpMsgBuf, 0, NULL);
  Application-&gt;MessageBox (NULL, (LPCTSTR)lpMsgBuf, TEXT(&quot;Port öffnen&quot;), 
                           MB_OK);
  LocalFree (lpMsgBuf);
}
</code></pre>
<p>Blackbird</p>
]]></description><link>https://www.c-plusplus.net/forum/post/891015</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/891015</guid><dc:creator><![CDATA[*zufaulzumeinloggen*]]></dc:creator><pubDate>Thu, 13 Oct 2005 05:39:25 GMT</pubDate></item><item><title><![CDATA[Reply to RS232 in C++ ansprechen on Thu, 13 Oct 2005 05:42:58 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">Application-&gt;MessageBox (NULL, (LPCTSTR)lpMsgBuf, TEXT(&quot;Port öffnen&quot;), 
                           MB_OK);
</code></pre>
<p>muss so aussehen:</p>
<pre><code class="language-cpp">Application-&gt;MessageBox ((LPCTSTR)lpMsgBuf, TEXT(&quot;Port öffnen&quot;), MB_OK);
</code></pre>
<p>sorry,</p>
<p>Blackbird</p>
]]></description><link>https://www.c-plusplus.net/forum/post/891017</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/891017</guid><dc:creator><![CDATA[*zufaulzumeinloggen*]]></dc:creator><pubDate>Thu, 13 Oct 2005 05:42:58 GMT</pubDate></item></channel></rss>