Tag: lpt

Steuerung USB-zu-Parallel-Port mit C#

Anzahl der Antworten 1 Antworten
Wie Steuerung USB-zu-Parallel-Port mit C#? USB-zu-Parallel-Port: IEEE-1284 (36Pins) IEEE-1284 Pin-Konfiguration Image: http://i.stack.imgur.com/b75Z5.png OS(Betriebssystem): Windows 7 x64 Programmiersprache: C# Mein Code: private void button1_Click(object sender, EventArgs e) { try { int address = System.Convert.ToInt16(textBox1.Text); int value = System.Convert.ToInt16(textBox2.Text);

C# LPT inpout32.dll

Anzahl der Antworten 4 Antworten
Ich bekomme keine Fehler oder exception. Schaltfläche in einem Fenster: private void button1_Click(object sender, EventArgs e) { ControlPort.Output(0x378, 0xff); } und inpout.dll Schnittstelle: class ControlPort { [DllImport("inpout32.dll", EntryPoint = "Out32")] public static extern void Output(int adress, int