用MSComm控件,微软的,有很多这方面的书,去书店看看就能找到好几本

解决方案 »

  1.   

    简单?看不出!/*************************************/
    /*1、MY TOOL:*************************/
    /*2、Delphi,Oracle,Sybase,C++/C*******/
    /*3、PROJECT:*************************/
    /*3、Boss*****************************/
    /*4、为了五星的目标希望你早点结贴*********/
    /*5、在线技术讨论(QQ):68123095*********/
    /*************************************/
      

  2.   

    汇编一直是我的最爱 VXD也不赖
    不过如果是win2000就麻烦了 写WDM吧 呵呵
      

  3.   

    那就用
    var prtfile:textfile;
     AssignFile(PrtFile, 端口);
      

  4.   

    _inp,_outP,我是问delphi里有没有相应的函数
      

  5.   

    com1:$3f8-3ff
    com2:$2f8-2ff
    ....
    myport:$300
    我是直接对地址操作
    如何读写数据
      

  6.   

    procedure outb(const port: word; const dbyte: byte);// 输出
    begin
      asm
        mov dx, port
        mov al, dbyte
        out dx, al
      end;
    end; function inb(const port: word): byte;//输入
    begin
      asm
        mov dx,port
        in  al,dx
        mov @Result, al
      end;
    end;