in reply to Re: Re: Poke peek & inp outp equivalents
in thread Poke peek & inp outp equivalents

While linking I got unresolved references.

Opps, forgot to mention that you need to compile/link in release mode as inp and outp will not work in debug mode.

Now I just have to figure out the way around NT complaining with STAUS_PRIVILEGED_INSTRUCTION when I use outp.

You could use a Windows NT/2000/XP I/O Port device driver to do the port I/O on your behalf. Have a look at the following article which gives an insight to the problem and solution.

  • Comment on Re: Re: Re: Poke peek & inp outp equivalents