Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DOS in XP Pro

Status
Not open for further replies.

nhtraven

Technical User
Dec 10, 2000
114
0
0
US
Hi all

I am having a problem when in DOS on a windows XP PRO machine. For some reason i cannot access COM port thru the DOS window.

Any help would be appreciated.

Raven
 
Be a little more specific about what you need hardware access to the COM port for, and what specific device.

Generally speaking, direct hardware writes/reads will not be possible without an intermediary: a virtualization device driver.

If you give details on the make, model, and/or software requiring access it would help use a lot to answer your question.
 
Software is an in-house proprietary test program that needs to gain access to COM1 to get info from the equipment under test. Software was written in assembler and makes calls directly to the port.
 
It will never work under XP unless you rewrite using the COM services under the C, VC or other libraries.

In this case do not upgrade the workstation to XP.

One way of dealing with the serial ports is to use the MSComm control shipped with Visual C++.

Another is to write a class for dealing with the COM ports. You can find an example of the latter in the web site.
 
You can setup the machine to dual boot dos and windows xp pro, so that you can boot into dos when you need to do your hardware testing.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top