Accessing I/O Memory under Win32

Accessing I/O Memory under Win32

I would like to program the parallel port in Windows NT or 95. What should I do?

At the simplest level, accessing the parallel port involves reading and writing to I/O memory. You can access I/O memory directly under Windows 95 using the IN and OUT instructions in inline assembly language, or using the equivalent C run-time routines. However, under NT, you need a device driver to access I/O memory. Any more detail would depend on precisely what you are trying to do.


Share the Post: