<?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[Serial&#x2F;Parallel und USB]]></title><description><![CDATA[<p>Hallo,<br />
wo kann man sich schlau lesen über die Programmierung der Schnittstellen eines PC´s. Ich möchte an den Schnittstellen Schalter, Widerstände und Schaltspannungen ausgeben bzw. auslesen. Leider stoße ich einfach nicht auf die richtigen Info´s und / oder Code Beispiele.<br />
Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/153277/serial-parallel-und-usb</link><generator>RSS for Node</generator><lastBuildDate>Thu, 23 Jul 2026 13:35:51 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/153277.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 14 Jul 2006 17:44:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Serial&#x2F;Parallel und USB on Fri, 14 Jul 2006 17:44:00 GMT]]></title><description><![CDATA[<p>Hallo,<br />
wo kann man sich schlau lesen über die Programmierung der Schnittstellen eines PC´s. Ich möchte an den Schnittstellen Schalter, Widerstände und Schaltspannungen ausgeben bzw. auslesen. Leider stoße ich einfach nicht auf die richtigen Info´s und / oder Code Beispiele.<br />
Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1097865</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1097865</guid><dc:creator><![CDATA[AndreasL]]></dc:creator><pubDate>Fri, 14 Jul 2006 17:44:00 GMT</pubDate></item><item><title><![CDATA[Reply to Serial&#x2F;Parallel und USB on Fri, 14 Jul 2006 17:54:26 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>weil Standard-C++ keine Hardware-Schnittstellen kennt.<br />
Also must du noch dazusagen, auf welcher Plattform (Betriebssystem, Compiler/IDE, Framework) du arbeitest. Und für jede der genannten Schnittstellen gibt es auch eigene Zugriffsmethoden.</p>
<p>Und dann kannst du auch erstmal die Forensuche benutzten. Denn du bist auf keinen Fall der erste, der sowas machen will und hier fragt. Nur must du eben im richtigen Subforum suchen.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1097868</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1097868</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Fri, 14 Jul 2006 17:54:26 GMT</pubDate></item><item><title><![CDATA[Reply to Serial&#x2F;Parallel und USB on Fri, 14 Jul 2006 18:22:52 GMT]]></title><description><![CDATA[<p>ich habe mir die devcpp installiert. Als Betriebsystem kommt XP zum Einsatz. Ich werde jetzt erstmal die Foren weiter durchsuchen. Bisher hatte ich allerdings nichts gefunden. Vielleicht fehlen mir auch die richtigen Suchbegriffe, weil mir der Hintergrund noch nicht geläufig ist.</p>
<p>Gruß und Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1097888</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1097888</guid><dc:creator><![CDATA[AndreasL]]></dc:creator><pubDate>Fri, 14 Jul 2006 18:22:52 GMT</pubDate></item><item><title><![CDATA[Reply to Serial&#x2F;Parallel und USB on Sat, 15 Jul 2006 07:33:53 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile.php?mode=viewprofile&amp;u=3630" rel="nofollow">Gerard</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=15" rel="nofollow">C++</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=4" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39405" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1098065</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1098065</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Sat, 15 Jul 2006 07:33:53 GMT</pubDate></item><item><title><![CDATA[Reply to Serial&#x2F;Parallel und USB on Mon, 17 Jul 2006 16:52:27 GMT]]></title><description><![CDATA[<p>kein Tip für mich? Schade <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="😞"
    /> <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>
]]></description><link>https://www.c-plusplus.net/forum/post/1099315</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1099315</guid><dc:creator><![CDATA[AndreasL]]></dc:creator><pubDate>Mon, 17 Jul 2006 16:52:27 GMT</pubDate></item><item><title><![CDATA[Reply to Serial&#x2F;Parallel und USB on Mon, 17 Jul 2006 17:07:22 GMT]]></title><description><![CDATA[<p>AndreasL schrieb:</p>
<blockquote>
<p>kein Tip für mich? Schade <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="😞"
    /> <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>
</blockquote>
<p>versuch's mal da: <a href="http://www.epanorama.net/links/project_interfacing.html" rel="nofollow">http://www.epanorama.net/links/project_interfacing.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1099320</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1099320</guid><dc:creator><![CDATA[net 0]]></dc:creator><pubDate>Mon, 17 Jul 2006 17:07:22 GMT</pubDate></item><item><title><![CDATA[Reply to Serial&#x2F;Parallel und USB on Wed, 19 Jul 2006 12:39:36 GMT]]></title><description><![CDATA[<p>sowas: <a href="http://www.codeproject.com/csharp/csppleds.asp" rel="nofollow">http://www.codeproject.com/csharp/csppleds.asp</a> ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1100354</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1100354</guid><dc:creator><![CDATA[peterchen]]></dc:creator><pubDate>Wed, 19 Jul 2006 12:39:36 GMT</pubDate></item><item><title><![CDATA[Reply to Serial&#x2F;Parallel und USB on Sat, 22 Jul 2006 19:57:01 GMT]]></title><description><![CDATA[<p>Schau mal unter:<br />
<a href="http://members.inode.at/anton.zechner/az/index.html" rel="nofollow">http://members.inode.at/anton.zechner/az/index.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1102364</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1102364</guid><dc:creator><![CDATA[AZ]]></dc:creator><pubDate>Sat, 22 Jul 2006 19:57:01 GMT</pubDate></item><item><title><![CDATA[Reply to Serial&#x2F;Parallel und USB on Mon, 24 Jul 2006 09:06:10 GMT]]></title><description><![CDATA[<p>Unter WinXP kannst Du die parallele Schnittstelle nicht direkt ansprechen- auch nicht in der DOS-Box. Dazu brauchst Du einen Treiber, der Ordnung ins System bringt. Die COM-Schnittstelle läßt sich über entsprechende Routinen ansprechen, bei USB weiß ich es nicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1102968</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1102968</guid><dc:creator><![CDATA[Elektronix]]></dc:creator><pubDate>Mon, 24 Jul 2006 09:06:10 GMT</pubDate></item><item><title><![CDATA[Reply to Serial&#x2F;Parallel und USB on Mon, 24 Jul 2006 09:18:43 GMT]]></title><description><![CDATA[<p>Elektronix schrieb:</p>
<blockquote>
<p>Unter WinXP kannst Du die parallele Schnittstelle nicht direkt ansprechen- auch nicht in der DOS-Box. Dazu brauchst Du einen Treiber...</p>
</blockquote>
<p>geht auch oft ohne treiber. windoof lässt sich gut austricksen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1102973</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1102973</guid><dc:creator><![CDATA[net 0]]></dc:creator><pubDate>Mon, 24 Jul 2006 09:18:43 GMT</pubDate></item><item><title><![CDATA[Reply to Serial&#x2F;Parallel und USB on Mon, 24 Jul 2006 09:31:25 GMT]]></title><description><![CDATA[<p>net schrieb:</p>
<blockquote>
<p>geht auch oft ohne treiber. windoof lässt sich gut austricksen</p>
</blockquote>
<p>Wie das???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1102984</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1102984</guid><dc:creator><![CDATA[Elektronix]]></dc:creator><pubDate>Mon, 24 Jul 2006 09:31:25 GMT</pubDate></item><item><title><![CDATA[Reply to Serial&#x2F;Parallel und USB on Mon, 24 Jul 2006 09:37:52 GMT]]></title><description><![CDATA[<p>Elektronix schrieb:</p>
<blockquote>
<p>net schrieb:</p>
<blockquote>
<p>geht auch oft ohne treiber. windoof lässt sich gut austricksen</p>
</blockquote>
<p>Wie das???</p>
</blockquote>
<p>guckst du: <a href="http://www.osronline.com/showThread.cfm?link=1014" rel="nofollow">http://www.osronline.com/showThread.cfm?link=1014</a><br />
ganz unten, letztes posting. ging auch noch unter win2k und geht mit sicherheit auch unter xp</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1102990</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1102990</guid><dc:creator><![CDATA[net 0]]></dc:creator><pubDate>Mon, 24 Jul 2006 09:37:52 GMT</pubDate></item><item><title><![CDATA[Reply to Serial&#x2F;Parallel und USB on Mon, 24 Jul 2006 10:53:52 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/3162">@net</a></p>
<blockquote>
<p>geht mit sicherheit auch unter XP.</p>
</blockquote>
<p>Aha, Du hast es also nicht ausprobiert.<br />
Das Problem ist, daß es verschiedene Windows' gibt. 2k ist ein Nachfolger von Win98- und damit eigentlich von Win3.1. All diese Systeme haben als Grundlage ein DOS, in dem der Schnittstellenzugriff möglich ist.<br />
WinXP ist ein Nachfolger von NT und hat damit keine DOS-Basis. Im Gegenteil: DOS wird von Windows permanent überwacht, selbst, wenn der Rechner im DOS-Modus gebootet wird. WinNT und -XP fangen alle Schnittstellenzugriffe ab und produzieren Meldungen wie &quot;Schwerer Ausnahmefehler&quot; oder &quot;Schutzverletzung&quot;. Der Zugriff ist nur mit einem Kernel-Mode-Treiber möglich.<br />
In diesem Zusammenhang empfehle ich inpout32.dll. Ist freeware und funzt unter allen Win32-Systemen. Einfach mal googeln.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1103042</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1103042</guid><dc:creator><![CDATA[Elektronix]]></dc:creator><pubDate>Mon, 24 Jul 2006 10:53:52 GMT</pubDate></item><item><title><![CDATA[Reply to Serial&#x2F;Parallel und USB on Mon, 24 Jul 2006 11:28:05 GMT]]></title><description><![CDATA[<blockquote>
<p>2k ist ein Nachfolger von Win98</p>
</blockquote>
<p>W2K basiert auf dem NT Kernel, nicht Win98</p>
<p>(Windows ME war der zugehörige 98-Nachfolger)</p>
<p>Das Problem mit der Lösung liegt hier:</p>
<blockquote>
<p>&gt; One needs to have 'Act as part of operating system' (SE_TCB_PRIVILEGE)</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1103068</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1103068</guid><dc:creator><![CDATA[peterchen]]></dc:creator><pubDate>Mon, 24 Jul 2006 11:28:05 GMT</pubDate></item><item><title><![CDATA[Reply to Serial&#x2F;Parallel und USB on Mon, 24 Jul 2006 11:59:55 GMT]]></title><description><![CDATA[<p>peterchen schrieb:</p>
<blockquote>
<p>Das Problem mit der Lösung liegt hier:</p>
<blockquote>
<p>&gt; One needs to have 'Act as part of operating system' (SE_TCB_PRIVILEGE)</p>
</blockquote>
</blockquote>
<p>wo ist das ein problem? man muss nur vorher admin sein und dann diese funktion aufrufen:</p>
<pre><code>NTSTATUS
RtlAdjustPrivilege(
    ULONG Privilege,
    BOOLEAN Enable,
    BOOLEAN Client,
    PBOOLEAN WasEnabled
    )

/*++
Routine Description:

    This procedure enables or disables a privilege process-wide.

Arguments:

    Privilege - The lower 32-bits of the privilege ID to be enabled or
        disabled.  The upper 32-bits is assumed to be zero.

    Enable - A boolean indicating whether the privilege is to be enabled
        or disabled.  TRUE indicates the privilege is to be enabled.
        FALSE indicates the privilege is to be disabled.

    Client - A boolean indicating whether the privilege should be adjusted
        in a client token or the process's own token.   TRUE indicates
        the client's token should be used (and an error returned if there
        is no client token).  FALSE indicates the process's token should
        be used.

    WasEnabled - points to a boolean to receive an indication of whether
        the privilege was previously enabled or disabled.  TRUE indicates
        the privilege was previously enabled.  FALSE indicates the privilege
        was previoulsy disabled.  This value is useful for returning the
        privilege to its original state after using it.

Return Value:

    STATUS_SUCCESS - The privilege has been sucessfully enabled or disabled.

    STATUS_PRIVILEGE_NOT_HELD - The privilege is not held by the specified context.

    Other status values as may be returned by:

            NtOpenProcessToken()
            NtAdjustPrivilegesToken()

--*/
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1103088</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1103088</guid><dc:creator><![CDATA[net 0]]></dc:creator><pubDate>Mon, 24 Jul 2006 11:59:55 GMT</pubDate></item></channel></rss>