<?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[Ich kann zu Com1 Ascii code nicht senden.]]></title><description><![CDATA[<p>Ich benutze bei C++ Builder MSComm.ocx und als Betriebsytem XP.<br />
Ein Modul verbindet mit Com1 und wartet auf Ascii code zB.49<br />
Ich möchte zur Pin(TxD) von Com1 mit Kompenent MSComm1 Ascii Code.<br />
Ich mache es so,</p>
<pre><code>void __fastcall TForm1::FormCreate(TObject *Sender)
{
MSComm1-&gt;CommPort = 1;
MSComm1-&gt;Handshaking = 2;
MSComm1-&gt;RThreshold = 1;
MSComm1-&gt;RTSEnable=true;
MSComm1-&gt;Settings = &quot;2400,N,8,1&quot;;
MSComm1-&gt;SThreshold = 1 ;
MSComm1-&gt;PortOpen = True;

}
//---------------------------------------------------------------------------
void __fastcall TForm1::AsciiSendClick(TObject *Sender)
{
 MSComm1-&gt;Output =&quot;49&quot;;
}  
//---------------------------------------------------------------------------
void __fastcall TForm1::FormClose(TObject *Sender, TCloseAction &amp;Action)
{
MSComm1-&gt;PortOpen = False;
}
//---------------------------------------------------------------------------
</code></pre>
<p>Aber es geht nicht , kommt diese Meldung<br />
&quot;Project Projetct1.exe raised exception class EOLeException with message 'Invalid property value'.Procces stopped.Use Step<br />
or Run to continue.&quot;<br />
Wie kann ich zu Com1 Ascii code oder Byte senden??</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/87942/ich-kann-zu-com1-ascii-code-nicht-senden</link><generator>RSS for Node</generator><lastBuildDate>Sat, 04 Jul 2026 19:02:45 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/87942.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 05 Oct 2004 12:15:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Ich kann zu Com1 Ascii code nicht senden. on Tue, 05 Oct 2004 12:20:46 GMT]]></title><description><![CDATA[<p>Ich benutze bei C++ Builder MSComm.ocx und als Betriebsytem XP.<br />
Ein Modul verbindet mit Com1 und wartet auf Ascii code zB.49<br />
Ich möchte zur Pin(TxD) von Com1 mit Kompenent MSComm1 Ascii Code.<br />
Ich mache es so,</p>
<pre><code>void __fastcall TForm1::FormCreate(TObject *Sender)
{
MSComm1-&gt;CommPort = 1;
MSComm1-&gt;Handshaking = 2;
MSComm1-&gt;RThreshold = 1;
MSComm1-&gt;RTSEnable=true;
MSComm1-&gt;Settings = &quot;2400,N,8,1&quot;;
MSComm1-&gt;SThreshold = 1 ;
MSComm1-&gt;PortOpen = True;

}
//---------------------------------------------------------------------------
void __fastcall TForm1::AsciiSendClick(TObject *Sender)
{
 MSComm1-&gt;Output =&quot;49&quot;;
}  
//---------------------------------------------------------------------------
void __fastcall TForm1::FormClose(TObject *Sender, TCloseAction &amp;Action)
{
MSComm1-&gt;PortOpen = False;
}
//---------------------------------------------------------------------------
</code></pre>
<p>Aber es geht nicht , kommt diese Meldung<br />
&quot;Project Projetct1.exe raised exception class EOLeException with message 'Invalid property value'.Procces stopped.Use Step<br />
or Run to continue.&quot;<br />
Wie kann ich zu Com1 Ascii code oder Byte senden??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/621501</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/621501</guid><dc:creator><![CDATA[Mr.Spak]]></dc:creator><pubDate>Tue, 05 Oct 2004 12:20:46 GMT</pubDate></item><item><title><![CDATA[Reply to Ich kann zu Com1 Ascii code nicht senden. on Tue, 05 Oct 2004 12:24:29 GMT]]></title><description><![CDATA[<p>Mr.Spak schrieb:</p>
<blockquote>
<p>Aber es geht nicht , kommt diese Meldung [...]</p>
</blockquote>
<p>In welcher Zeile? Bist du sicher, dass du einen korrekten Wert zuweist?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/621511</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/621511</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Tue, 05 Oct 2004 12:24:29 GMT</pubDate></item><item><title><![CDATA[Reply to Ich kann zu Com1 Ascii code nicht senden. on Tue, 05 Oct 2004 14:18:06 GMT]]></title><description><![CDATA[<p>Ich benutze MSComm1 beim ActiveX<br />
Ich krige ein MSComm1 kompenent auf Form und ein Button.<br />
Button Name ist AsciiSend.<br />
Dann schreibe ich source Code wie oben in Unit1.cpp.<br />
Comprimieren geht<br />
Wenn ich AsciiSend Button klicke , komm die Fehlermeldung &quot;Invalid property value&quot;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/621629</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/621629</guid><dc:creator><![CDATA[Mr.Spak]]></dc:creator><pubDate>Tue, 05 Oct 2004 14:18:06 GMT</pubDate></item><item><title><![CDATA[Reply to Ich kann zu Com1 Ascii code nicht senden. on Tue, 05 Oct 2004 15:40:33 GMT]]></title><description><![CDATA[<p>Hallo!? In welcher Zeile wird der Fehler ausgelöst?<br />
<a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39301" rel="nofollow">Debugger</a> anwerfen und prüfen, was los ist!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/621727</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/621727</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Tue, 05 Oct 2004 15:40:33 GMT</pubDate></item><item><title><![CDATA[Reply to Ich kann zu Com1 Ascii code nicht senden. on Wed, 06 Oct 2004 16:04:56 GMT]]></title><description><![CDATA[<p>Ich habe so geändert und jetz geht</p>
<pre><code>AnsiString as=&quot;49&quot;;
MSComm1-&gt;CommPort = 1;
MSComm1-&gt;Settings = &quot;1200,N,8,1&quot;;
MSComm1-&gt;PortOpen =true;
if (MSComm1-&gt;PortOpen!=true)
ShowMessage(&quot;Com1 kann ncht geöffnet werden !&quot;);
MSComm1-&gt;Output =as;
</code></pre>
<p>MSComm1-&gt;Output = String muss sein !!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/621860</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/621860</guid><dc:creator><![CDATA[Mr.Spak]]></dc:creator><pubDate>Wed, 06 Oct 2004 16:04:56 GMT</pubDate></item><item><title><![CDATA[Reply to Ich kann zu Com1 Ascii code nicht senden. on Tue, 05 Oct 2004 19:07:14 GMT]]></title><description><![CDATA[<p>Mr.Spak schrieb:</p>
<blockquote>
<p>else;</p>
</blockquote>
<p>Hi,<br />
das dieses völlig unsinnig ist, ist dir bewusst oder?</p>
<p>MfG</p>
<p>Alexander Sulfrian</p>
]]></description><link>https://www.c-plusplus.net/forum/post/621932</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/621932</guid><dc:creator><![CDATA[Alexander Sulfrian]]></dc:creator><pubDate>Tue, 05 Oct 2004 19:07:14 GMT</pubDate></item></channel></rss>