Accessing the keyboard port

Can we issue _inb's or _outb's for the keyboard port, under Windows NT (MSVC++5.00). I'm trying to manage a peripheral that is connected in the keyboard port. I've managed to make it work under linux (outb'ing to port 0x60 and inb'ing from port 0x64), but not under WinNT.
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

jkrConnect With a Mentor Commented:
You cannot access I/O ports directly under NT, usually a driver is needed for this task but there's an alternative: See the 'Sybera Hardware Access' Kit at which allows direct hardware access under NT without developing your own driver. Can be downloaded for free at 
All Courses

From novice to tech pro — start learning today.