<?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[Schnittstellen abfrage, egal welche, ein PIN reicht. =(]]></title><description><![CDATA[<p>Hallo!</p>
<p>Brauche einen Eingang am PC. COM oder LPT ist mir egal. Aber ich bekomme es nicht hin. Was muss ich machen? LPT habe ich versucht, aber es gelingt mir nicht. Kann mir jemand einen Pin nennen und den Quelltext dazu, womit ich einen PIN eingelesen bekomme? Ich bin wirklich verzweifelt. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<p>Ron</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/92979/schnittstellen-abfrage-egal-welche-ein-pin-reicht</link><generator>RSS for Node</generator><lastBuildDate>Wed, 08 Jul 2026 11:41:26 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/92979.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 25 Nov 2004 01:23:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Schnittstellen abfrage, egal welche, ein PIN reicht. =( on Thu, 25 Nov 2004 01:23:54 GMT]]></title><description><![CDATA[<p>Hallo!</p>
<p>Brauche einen Eingang am PC. COM oder LPT ist mir egal. Aber ich bekomme es nicht hin. Was muss ich machen? LPT habe ich versucht, aber es gelingt mir nicht. Kann mir jemand einen Pin nennen und den Quelltext dazu, womit ich einen PIN eingelesen bekomme? Ich bin wirklich verzweifelt. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<p>Ron</p>
]]></description><link>https://www.c-plusplus.net/forum/post/658525</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/658525</guid><dc:creator><![CDATA[ronschulz]]></dc:creator><pubDate>Thu, 25 Nov 2004 01:23:54 GMT</pubDate></item><item><title><![CDATA[Reply to Schnittstellen abfrage, egal welche, ein PIN reicht. =( on Thu, 25 Nov 2004 06:54:45 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>was hast du denn schon versucht<br />
Zeig mal ein bischen her</p>
<p>Ich wuerde ja eher auf den Com-Port setzen<br />
(habe ich schon haeufig damit gearbeitet)</p>
<p>MfG<br />
Klaus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/658551</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/658551</guid><dc:creator><![CDATA[KlausB]]></dc:creator><pubDate>Thu, 25 Nov 2004 06:54:45 GMT</pubDate></item><item><title><![CDATA[Reply to Schnittstellen abfrage, egal welche, ein PIN reicht. =( on Thu, 25 Nov 2004 07:18:06 GMT]]></title><description><![CDATA[<p>Hallo ronschulz,<br />
es grundsätzlich möglich eine Schnittstelle z.B. mit fopen und den zugehörigen Funktionen abzufragen. Als Device stezt du dann LPT1 oder COM1 ein.</p>
<p>Vile Erfolg<br />
Evai48</p>
]]></description><link>https://www.c-plusplus.net/forum/post/658562</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/658562</guid><dc:creator><![CDATA[evi48]]></dc:creator><pubDate>Thu, 25 Nov 2004 07:18:06 GMT</pubDate></item><item><title><![CDATA[Reply to Schnittstellen abfrage, egal welche, ein PIN reicht. =( on Thu, 25 Nov 2004 08:40:35 GMT]]></title><description><![CDATA[<p>am einfachsten ist es wenn du die IO.dll verwendest:</p>
<p><a href="http://www.geekhideout.com/iodll.shtml" rel="nofollow">www.geekhideout.com/iodll.shtml</a></p>
<p>damit kannst du vollkommen unproblematisch z.B. auf den Paralellport zugreifen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/658640</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/658640</guid><dc:creator><![CDATA[Acidmrp]]></dc:creator><pubDate>Thu, 25 Nov 2004 08:40:35 GMT</pubDate></item><item><title><![CDATA[Reply to Schnittstellen abfrage, egal welche, ein PIN reicht. =( on Thu, 25 Nov 2004 17:08:02 GMT]]></title><description><![CDATA[<p>void __fastcall TForm1::Button1Click(TObject *Sender)<br />
{</p>
<p>char i[1];<br />
unsigned long bits_read=0;</p>
<p>HANDLE hCom=CreateFile(&quot;LPT1&quot;,GENERIC_READ,0,NULL, OPEN_EXISTING,0,NULL);</p>
<p>BOOL tmp=ReadFile(hCom,&amp;i,1,&amp;bits_read,NULL);</p>
<p>Form1-&gt;Edit1-&gt;Text=i;<br />
}</p>
<p>Aber ich würde auch den COM-Port nehmen, doch wäre ein ziemlich kompletter Code gut, den man so verwenden kann. Bin C++ Einsteiger und heftig verzweifelt...</p>
<p>Ron....</p>
<p>PS: Bei dem Code kommt nur Müll bei raus:<br />
$7<br />
¸<br />
Xú</p>
]]></description><link>https://www.c-plusplus.net/forum/post/659209</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/659209</guid><dc:creator><![CDATA[ronschulz]]></dc:creator><pubDate>Thu, 25 Nov 2004 17:08:02 GMT</pubDate></item><item><title><![CDATA[Reply to Schnittstellen abfrage, egal welche, ein PIN reicht. =( on Thu, 25 Nov 2004 19:57:25 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>kein Muell<br />
pruef doch erstmal ab ob der Rueckgabewert true ist</p>
<p>MfG<br />
Klaus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/659369</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/659369</guid><dc:creator><![CDATA[KlausB]]></dc:creator><pubDate>Thu, 25 Nov 2004 19:57:25 GMT</pubDate></item></channel></rss>