Accessing MSDOS I/O ports from 32-bit Windows
I'm trying to establish communications between an MSDOS program and a
32-bit Windows C++ program using I/O ports (by calling _inp and _outp)
under Windows 95. I believe that MSDOS programs run in a separate
Virtual DOS Machine and thus have their own private set of ports. Does
anyone know how I can gain access to the MSDOS ports from 32-bit
Windows, or otherwise establish byte-oriented two way communications
between the programs? I'm particularly interested in a single solution
that works under Windows 95, 98, and NT.
Thanks in advance!
Norm Wilson
mailto:[email protected]
http://www.programmar.com
Re: Accessing MSDOS I/O ports from 32-bit Windows
To access I/O in windows environment use Windows DDK. _inp and _outp will not work under windows95,98 and NT. Using DDK you will able to to do I/O.