<?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 Visual C++ 2005 Express auslesen]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich bin neu im Bereich um C++<br />
Bisher habe ich Microcontroller in C programmiert.</p>
<p>Ich bin seit einigen Tagen auf der Suche nach einem Beispielcode für Visual C++ 2005 Express in dem die RS232 Schnittstelle ausgelesen wird.<br />
Leider finde ich nur Code für C# oder Visual Basic.<br />
Die entspechende Hilfe von MSDN bietet leider auch nur Beispielcode für C# oder andere..</p>
<p>Senden von Zeichen habe ich schon geschafft.<br />
Nur das auslesen gestaltet sich als schwierig, da dies in einem eigenen Thread geschied.<br />
Leider kenne ich mich mit C++ nicht gut genug aus um das benötigte Invoke / Delegate richtig zu benutzen.</p>
<p>Meine Frage:<br />
Kennt jemand eine Quelle von der ich einen Beispielcode bekommen kann?<br />
(dringend für <strong>Visual C++ 2005 Express</strong>..)<br />
Oder kann mir jemand (für dumme) erklären wie ich das mit dem Invoke hinbekommen kann?</p>
<p>Ich freue mich über jede Hilfestellung..</p>
<p>Vielen Dank schonmal.</p>
<p>MfG Markus</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/186214/rs232-in-visual-c-2005-express-auslesen</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 12:30:00 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/186214.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 06 Jul 2007 09:04:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to RS232 in Visual C++ 2005 Express auslesen on Fri, 06 Jul 2007 09:04:23 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich bin neu im Bereich um C++<br />
Bisher habe ich Microcontroller in C programmiert.</p>
<p>Ich bin seit einigen Tagen auf der Suche nach einem Beispielcode für Visual C++ 2005 Express in dem die RS232 Schnittstelle ausgelesen wird.<br />
Leider finde ich nur Code für C# oder Visual Basic.<br />
Die entspechende Hilfe von MSDN bietet leider auch nur Beispielcode für C# oder andere..</p>
<p>Senden von Zeichen habe ich schon geschafft.<br />
Nur das auslesen gestaltet sich als schwierig, da dies in einem eigenen Thread geschied.<br />
Leider kenne ich mich mit C++ nicht gut genug aus um das benötigte Invoke / Delegate richtig zu benutzen.</p>
<p>Meine Frage:<br />
Kennt jemand eine Quelle von der ich einen Beispielcode bekommen kann?<br />
(dringend für <strong>Visual C++ 2005 Express</strong>..)<br />
Oder kann mir jemand (für dumme) erklären wie ich das mit dem Invoke hinbekommen kann?</p>
<p>Ich freue mich über jede Hilfestellung..</p>
<p>Vielen Dank schonmal.</p>
<p>MfG Markus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1319493</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1319493</guid><dc:creator><![CDATA[mboremski]]></dc:creator><pubDate>Fri, 06 Jul 2007 09:04:23 GMT</pubDate></item><item><title><![CDATA[Reply to RS232 in Visual C++ 2005 Express auslesen on Fri, 06 Jul 2007 09:43:12 GMT]]></title><description><![CDATA[<p><a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-134130.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-134130.html</a><br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39047.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-39047.html</a><br />
<img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1319532</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1319532</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Fri, 06 Jul 2007 09:43:12 GMT</pubDate></item><item><title><![CDATA[Reply to RS232 in Visual C++ 2005 Express auslesen on Fri, 06 Jul 2007 10:06:07 GMT]]></title><description><![CDATA[<p>Hallo...<br />
danke für die Antwort.</p>
<blockquote>
<p><a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-134130.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-134130.html</a></p>
</blockquote>
<p>Hier wird eine eigene Libary vorgestellt.<br />
Das hatte ich mir bereits mal angesehen.<br />
Allerdings stellt Visual C++ 2005 Express bereits alle Funktionen zur Verfügung die benötigt werden um die Serielle Schnittstelle zu nutzen.<br />
Daher sehe ich keinen Sinn darin eine egene Lib zu nutzen.</p>
<blockquote>
<p><a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39047.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-39047.html</a></p>
</blockquote>
<p>Hier wird gezeigt wie die Schnittstelle mit Read-/WriteFile benutzt werden kann.<br />
Es geht mir aber darum die Sache mit diesem Invoke zu lösen.</p>
<p>Trotzdem vielen Dank!.. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>Hier mal ein Link der mir super gut gefallen würde sofern er denn für C++ gedacht währe.. :</p>
<p><a href="http://zfs.informatik.rwth-aachen.de/DasBlog/PermaLink,guid,4faf31ff-7eec-491d-b430-cf18c3c5d926.aspx" rel="nofollow">http://zfs.informatik.rwth-aachen.de/DasBlog/PermaLink,guid,4faf31ff-7eec-491d-b430-cf18c3c5d926.aspx</a></p>
<p>MfG Markus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1319550</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1319550</guid><dc:creator><![CDATA[mboremski]]></dc:creator><pubDate>Fri, 06 Jul 2007 10:06:07 GMT</pubDate></item><item><title><![CDATA[Reply to RS232 in Visual C++ 2005 Express auslesen on Mon, 09 Jul 2007 05:20:10 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>gibt es hier jemanden der diese Problemstellung mal in VC++ 2005 Express gelöst hat und mir helfen kann?<br />
Oder ist die Lösung mit Delegaten vollkommen abwegig?</p>
<p>Danke schonmal..</p>
<p>MfG<br />
Markus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1321113</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1321113</guid><dc:creator><![CDATA[mboremski]]></dc:creator><pubDate>Mon, 09 Jul 2007 05:20:10 GMT</pubDate></item><item><title><![CDATA[Reply to RS232 in Visual C++ 2005 Express auslesen on Mon, 09 Jul 2007 05:39:35 GMT]]></title><description><![CDATA[<p>Hi.</p>
<p>Das habe ich in der Hilfe von VS 2005 Pro: gefunden:<br />
ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.WIN32COM.v10.en/dnfiles/html/msdn_serial.htm</p>
<p>Selbst habe ich in dieser Richtung noch nichts entwickelt, bin aber aktuell an diesem Thema dran.</p>
<p>Gruß<br />
Norbert</p>
<p>Auszug aus der o.g. Hilfe:<br />
&quot;...<br />
Reading and Writing<br />
Reading from and writing to communications ports in Win32 is very similar to file input/output (I/O) in Win32. In fact, the functions that accomplish file I/O are the same functions used for serial I/O. I/O in Win32 can be done either of two ways: overlapped or nonoverlapped. The Platform SDK documentation uses the terms asynchronous and synchronous to connote these types of I/O operations. This article, however, uses the terms overlapped and nonoverlapped.</p>
<p>Nonoverlapped I/O is familiar to most developers because this is the traditional form of I/O, where an operation is requested and is assumed to be complete when the function returns. In the case of overlapped I/O, the system may return to the caller immediately even when an operation is not finished and will signal the caller when the operation completes. The program may use the time between the I/O request and its completion to perform some &quot;background&quot; work.</p>
<p>Reading and writing in Win32 is significantly different from reading and writing serial communications ports in 16-bit Windows. 16-bit Windows only has the ReadComm and WriteComm functions. Win32 reading and writing can involve many more functions and choices. These issues are discussed below.<br />
...&quot;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1321118</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1321118</guid><dc:creator><![CDATA[N.W.]]></dc:creator><pubDate>Mon, 09 Jul 2007 05:39:35 GMT</pubDate></item><item><title><![CDATA[Reply to RS232 in Visual C++ 2005 Express auslesen on Mon, 09 Jul 2007 06:20:14 GMT]]></title><description><![CDATA[<p>wie bereits gesagt:</p>
<blockquote>
<p>Hier wird gezeigt wie die Schnittstelle mit Read-/WriteFile benutzt werden kann.<br />
Es geht mir aber darum die Sache mit diesem Invoke zu lösen.</p>
</blockquote>
<p>Trotzdem danke</p>
<p>PS:<br />
Mit deinem lokalen Link kann ich leider nicht viel machen, da ich 1. ne andere Version 2. woanders installiert habe...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1321135</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1321135</guid><dc:creator><![CDATA[mboremski]]></dc:creator><pubDate>Mon, 09 Jul 2007 06:20:14 GMT</pubDate></item><item><title><![CDATA[Reply to RS232 in Visual C++ 2005 Express auslesen on Mon, 09 Jul 2007 06:59:50 GMT]]></title><description><![CDATA[<p>Er meint diesen Artikel:<br />
<a href="http://msdn2.microsoft.com/en-us/library/ms810467.aspx" rel="nofollow">http://msdn2.microsoft.com/en-us/library/ms810467.aspx</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1321158</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1321158</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Mon, 09 Jul 2007 06:59:50 GMT</pubDate></item></channel></rss>