C# LPT inpout32.dll

后端 未结 4 1480
礼貌的吻别
礼貌的吻别 2020-12-15 12:01

I don\'t get any error or exception.

Button in one Window:

private void button1_Click(object sender, EventArgs e)
{
    ControlPort.Output(0x378, 0xf         


        
4条回答
  •  不思量自难忘°
    2020-12-15 12:51

    You are not going to get an exception when you get this wrong, at most a blue screen. Pick one of:

    • you are using the wrong address (0x3bc, 0x2f8)
    • you wired the LED wrong
    • you broke into the wrong museum to get the hardware

    The question is too poorly documented to help you beyond this.

提交回复
热议问题