?
Solved

com port redirection?

Posted on 2003-03-10
10
Medium Priority
?
523 Views
Last Modified: 2013-11-15
I heard that MSDOS apps can use a pci modem running under Windows 2000 OS, with the help of redirection.  Is this the same as issuing net use command.  Can someone tell me how to do this.

thanks
Ptran2000
0
Comment
Question by:ptran2000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
  • +1
10 Comments
 

Expert Comment

by:kawboy20
ID: 8105837
ptran2000,

You can try the product ViP http://store.yahoo.com/pcw2/turvipdow.html

A DOS communications program is written with the assumption that the software will be interacting with a UART, which for legacy modems was not an issue, but PCI-bus modems and USB-based modems crate a virual port that the DOS app can not communicate. Supposily ViP acts as midleware to allow windows DOS apps to talk to software modems. If the app is running in native DOS I don't think it is possible.
0
 

Author Comment

by:ptran2000
ID: 8105882
This product is only for win 9.x.  I have this on a win98 computer already and it works fine on win98.
0
 

Expert Comment

by:kawboy20
ID: 8106377
Ptran2000,

The net use command can only be used in the following ways:
net use <drive letter>\\unc path
net use lptx:\\unc path

I'm assuming the DOS app is configured to use a certain port like com 2. You might try using an external modem attached to a serial port 2 which by default is com 2, but I don't think it's possible to redirect a com port to the vitual port for the PCI modem. Hope that helps
0
Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

 

Author Comment

by:ptran2000
ID: 8107034
unfortunately external modems and ISA modems are not an option.
0
 
LVL 6

Expert Comment

by:danich
ID: 8109042
It's not going to work. This app expects to be able to talk to the hardware directly. Win2K will not allow this. Period. No redirection is going to let this happen; the architecture won't allow it.
0
 

Author Comment

by:ptran2000
ID: 8115523


"Under Windows XP, NT and 2000, DOS applications that manipulate the UART hardware directly are able to access both DialOut and standard ports in the COM 1-4 range using the NTVDM driver (NT Virtual DOS Machine) that ships with these versions of Windows. The NTVDM is a library that maps 16-bit APIs into 32-bit APIs. It is installed by default. "

url: http://www.pcmicro.com/serialip/guide/ch3-dossupport.html

doesn't this state that it is possible??????

thanks
ptran2000
0
 
LVL 6

Expert Comment

by:danich
ID: 8115596
I think you missed the second paragraph which gives a more full picture:

DOS applications will not be able to access ports COM5 and above using this mechanism, however. Also be aware that Tactical Software's testing has shown that not all DOS applications perform well under NTVDM, even with the standard COM port driver.

This is a situation where, if it is going to work it is going to work and if it isn't, it isn't. There are no hacks or workarounds. Part of NT/Win2K/XP's design is to prevent rogue apps from directly accessing the hardware; they have to go through a system API, no ifs, ands or buts. Apparently _some_ serial apps written for WinMe and lower _might_ work, but there are no guarantees. And if they don't work through the NTVDM in this manner, they are SOL.

Advice: use an upgraded app or downgrade the OS.
0
 

Author Comment

by:ptran2000
ID: 8196378
I got it to work with WinXP! Using a Zoom and USR PCI controller based modem.  
0
 

Expert Comment

by:modulo
ID: 8302126
Dear expert(s),

A request has been made to close this Q in CS:
http://www.experts-exchange.com/Community_Support/Q_20579762.html

Without a response in 72 hrs, a moderator will finalize this question by:

 - Saving this Q as a PAQ and refunding the points to the questionner

When you agree or disagree, please add a comment here.

Thank you.

modulo

Community Support Moderator
Experts Exchange
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 8319533
Saving this Q as a PAQ and refunding the 500 points to the questionner

modulo

Community Support Moderator
Experts Exchange
0

Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article was originally published on Monitis Blog, you can check it here . If you have responsibility for software in production, I bet you’d like to know more about it. I don’t mean that you’d like an extra peek into the bowels of the sourc…
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
Viewers will learn how to use the Hootsuite Dashboard.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question