I write a program runs well in win9x. But it does not run in winnt. I found that I had used _inp(), _outp() functions for win9x version.

Have you got any sample code help me write data to port directly in winnt?

Thank you very much!
Posted on 2002-03-02 03:50:06 by internetrice
Can't be done from an app due to NT's virtualized addressing scheme. The only software that can write to hardware in NT are kernel mode drivers.
Posted on 2002-03-02 08:15:24 by The Worrier King
It can be done with WinIO, have a look at AsmIO at my website: www.madwizard.org.

Posted on 2002-03-02 08:22:37 by Thomas