Click to See Complete Forum and Search --> : Accessing MSDOS I/O ports from 32-bit Windows


nwilson
June 11th, 1999, 04:36 PM
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:nwilson@programmar.com
http://www.programmar.com

Asif Bharmal
June 12th, 1999, 11:48 PM
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.