<?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[Com1,2,3,4 variabel machen ?]]></title><description><![CDATA[<p>Hallo alle zusammen habe ein kleines problem mit dem hier!</p>
<pre><code class="language-cpp">hCom = CreateFile(&quot;COM4&quot;,GENERIC_WRITE|GENERIC_READ ,0,NULL,OPEN_EXISTING,0,NULL);
</code></pre>
<p>also das läuft one probleme aberwenn ich das mache meckert der hCom =</p>
<pre><code class="language-cpp">AnsiString a=&quot;Com4&quot;;
CreateFile(a,GENERIC_WRITE|GENERIC_READ ,0,NULL,OPEN_EXISTING,0,NULL);
</code></pre>
<p>wie löse ich das ganze ??</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/131582/com1-2-3-4-variabel-machen</link><generator>RSS for Node</generator><lastBuildDate>Thu, 30 Jul 2026 13:08:46 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/131582.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 04 Jan 2006 15:49:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Com1,2,3,4 variabel machen ? on Wed, 04 Jan 2006 15:49:14 GMT]]></title><description><![CDATA[<p>Hallo alle zusammen habe ein kleines problem mit dem hier!</p>
<pre><code class="language-cpp">hCom = CreateFile(&quot;COM4&quot;,GENERIC_WRITE|GENERIC_READ ,0,NULL,OPEN_EXISTING,0,NULL);
</code></pre>
<p>also das läuft one probleme aberwenn ich das mache meckert der hCom =</p>
<pre><code class="language-cpp">AnsiString a=&quot;Com4&quot;;
CreateFile(a,GENERIC_WRITE|GENERIC_READ ,0,NULL,OPEN_EXISTING,0,NULL);
</code></pre>
<p>wie löse ich das ganze ??</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/956792</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/956792</guid><dc:creator><![CDATA[com-cat]]></dc:creator><pubDate>Wed, 04 Jan 2006 15:49:14 GMT</pubDate></item><item><title><![CDATA[Reply to Com1,2,3,4 variabel machen ? on Wed, 04 Jan 2006 15:52:46 GMT]]></title><description><![CDATA[<p>Tja, die Hellseherkugel ist gerade zu polieren. Kommt erst morgen wieder. Nun kann ich nur raten warum der Compiler meckert?</p>
<p>Vermutlich wird das die Lösung sein:</p>
<p>CreateFile(a.c_str(),....</p>
]]></description><link>https://www.c-plusplus.net/forum/post/956801</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/956801</guid><dc:creator><![CDATA[Christian211]]></dc:creator><pubDate>Wed, 04 Jan 2006 15:52:46 GMT</pubDate></item></channel></rss>