devxlogo

Accessing I/O Memory under Win32

Accessing I/O Memory under Win32

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

Answer:
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.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist