Link to home
Start Free TrialLog in
Avatar of ftg
ftg

asked on

sharing comm ports

I need to intercept the comm1 port to read some messages which are send to another application, I am not aloud to join comm1 with another input, which is the easier form to do that, so I need to reed directly from comm1 which is already open,  I can't open a port already open so how can I skip this error?
ASKER CERTIFIED SOLUTION
Avatar of david_levine
david_levine

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ftg
ftg

ASKER

Dave.
 I can't touch one of the applicatios, I know that oppen a port twice is a mistake, so the question is how can I cheat the compiler to run the program despite this error?
Avatar of ftg

ASKER

Dave.
 I can't touch one of the applicatios, I know that oppen a port twice is a mistake, so the question is how can I cheat the compiler to run the program despite this error?
Avatar of ftg

ASKER

Dave.
 I can't touch one of the applicatios, I know that open a port twice is a mistake, so the question is how can I cheat the compiler to run the program despite this error?
You can't have 2 programs accessing the same comm port. There's no way to cheat it. You could always put in another modem / line in the same computer. What's are the programs? Why do you want to do this?