<?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[vom com lesen]]></title><description><![CDATA[<p>tag</p>
<p>ich muss die komunikation zweier geräte aufzeichnen.<br />
nun ist jedoch das windows zu langsam oder was auch immer.</p>
<p>bis jetzt öffne ich denn den com mit:</p>
<pre><code>CreateFile(&quot;COM1&quot;,
      GENERIC_READ | GENERIC_WRITE, // access (read-write) mode
      0,                  // share mode
      NULL,               // address of security descriptor
      OPEN_EXISTING,      // how to create
      0,                  // file attributes
      NULL                // handle of file with attributes to copy
    );
</code></pre>
<p>gelesen wird mit:</p>
<pre><code>ReadFile(
    handle,	// handle of file to read
    data,	// address of buffer that receives data
    maxLen,	// number of bytes to read
    &amp;dwlenRead,	// address of number of bytes read
    NULL); 	// address of structure for data
</code></pre>
<p>gibt es da noch andere varianten? kan man auch direkt auf den com zugreifen?</p>
<p>danke.<br />
gruss lehme</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/145873/vom-com-lesen</link><generator>RSS for Node</generator><lastBuildDate>Wed, 05 Aug 2026 03:59:28 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/145873.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 02 May 2006 08:26:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to vom com lesen on Tue, 02 May 2006 08:26:05 GMT]]></title><description><![CDATA[<p>tag</p>
<p>ich muss die komunikation zweier geräte aufzeichnen.<br />
nun ist jedoch das windows zu langsam oder was auch immer.</p>
<p>bis jetzt öffne ich denn den com mit:</p>
<pre><code>CreateFile(&quot;COM1&quot;,
      GENERIC_READ | GENERIC_WRITE, // access (read-write) mode
      0,                  // share mode
      NULL,               // address of security descriptor
      OPEN_EXISTING,      // how to create
      0,                  // file attributes
      NULL                // handle of file with attributes to copy
    );
</code></pre>
<p>gelesen wird mit:</p>
<pre><code>ReadFile(
    handle,	// handle of file to read
    data,	// address of buffer that receives data
    maxLen,	// number of bytes to read
    &amp;dwlenRead,	// address of number of bytes read
    NULL); 	// address of structure for data
</code></pre>
<p>gibt es da noch andere varianten? kan man auch direkt auf den com zugreifen?</p>
<p>danke.<br />
gruss lehme</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1049360</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1049360</guid><dc:creator><![CDATA[lehme]]></dc:creator><pubDate>Tue, 02 May 2006 08:26:05 GMT</pubDate></item><item><title><![CDATA[Reply to vom com lesen on Tue, 02 May 2006 10:30:29 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>hier müsste alles drin sein was du brauchst:</p>
<p><a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-122860-and-start-is-40-and-postdays-is-0-and-postorder-is-asc-and-highlight-is-.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-122860-and-start-is-40-and-postdays-is-0-and-postorder-is-asc-and-highlight-is-.html</a></p>
<p>mfg<br />
Tom</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1049434</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1049434</guid><dc:creator><![CDATA[Tom7]]></dc:creator><pubDate>Tue, 02 May 2006 10:30:29 GMT</pubDate></item><item><title><![CDATA[Reply to vom com lesen on Tue, 02 May 2006 12:01:01 GMT]]></title><description><![CDATA[<p>diese variante hatte ich bis jetzt ja schon. da sie leider zu langsam ist, wollte ich wissen ob man direkt auf denn com zugreifen kann, ohne windows. da hier windows nicht mit echtzeit arbeitet.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1049484</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1049484</guid><dc:creator><![CDATA[lehme]]></dc:creator><pubDate>Tue, 02 May 2006 12:01:01 GMT</pubDate></item><item><title><![CDATA[Reply to vom com lesen on Tue, 02 May 2006 12:06:58 GMT]]></title><description><![CDATA[<p>so weit ich weiß, geht das nicht, du willst ja mehr oder weniger WINDOWS bei deinem ganzen Vorhaben aussen vor lassen und für dein eigentliches Programm dann doch wieder dessen Vorzüge (oder auch nicht) nutzen.</p>
<p>Kann mir nicht vorstellen das das geht, lasse mich aber auch gerne eines besseren belehren.</p>
<p>mfg<br />
Tom</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1049489</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1049489</guid><dc:creator><![CDATA[Tom7]]></dc:creator><pubDate>Tue, 02 May 2006 12:06:58 GMT</pubDate></item><item><title><![CDATA[Reply to vom com lesen on Tue, 02 May 2006 13:38:28 GMT]]></title><description><![CDATA[<p>Wieso sollte &quot;das Windows&quot; zu langsam sein? wie kommst du darauf?<br />
von was für zahlen sprichst du denn? evtl liegt es ja an was anderem..</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1049586</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1049586</guid><dc:creator><![CDATA[BigNeal]]></dc:creator><pubDate>Tue, 02 May 2006 13:38:28 GMT</pubDate></item></channel></rss>