windows xp 怎样直接给端口送值(_outp和嵌套汇编均报"Privilege instruction")

解决方案 »

  1.   

    有没有简单的办法实现_outp()的功能??
      

  2.   

    http://www.internals.com/utilities/winio.zip
    WinIo - This library allows direct I/O port and physical memory access under Windows 9x/NT/2000 and XP. Version 2.0 provides faster I/O port access, better memory mapping support and can be used from non-administrative accounts under Windows NT/2000 and XP.
      

  3.   

    只有安装驱动,如上。
    或者,有管理员权限的可以研究一下这个。
    http://vip.6to23.com/NowCan1/tech/win2kIO.htm
      

  4.   

    NT内核的包括nt,2k,xp都不能直接I/O,得通过sys或WDM驱动。
    你可以用西文yahoo搜"mapmemplus",免费的sys驱动,支持nt,2k,xp