CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 1999
    Posts
    3

    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

  2. #2
    Join Date
    Jun 1999
    Posts
    9

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured