securing a communications port 
Author Message
 securing a communications port

How do you secure COM1?

I'm working with Visual C++ 4.0 and am trying to secure COM1 while my
program is being executed. I would like for no other programs to use the
COM1. Currently I am using CreateFile, ReadFile and WriteFile to set-up and
use the communications ports. I am using the SetupComm,SetTimeouts,
GetCommState and SetCommState commands. Any suggestions?

Thanks in advance.

Sat, 16 Oct 1999 03:00:00 GMT  
 securing a communications port

Hi C6934 (Is this your real name ? <g>),

as long as you have the port open it is yours, no other program can
open it.
The only problem is that another app already grabbed it before your's,
then you have to inform the user.

ThomasZ [MVP]

Sun, 17 Oct 1999 03:00:00 GMT  
 [ 2 post ] 

 Relevant Pages 

1. Communication ports and LPT ports

2. Help: RS232 serial port communications

3. Serial port communication

4. Serial Port Communication By C/C++.

5. serial port communication in C#

6. Communication port address

7. Serial communication with telnet port

8. Serial Port Communications

9. Monitoring Parallel Port Communications

10. Serial port communications

11. Com Port communication

12. Need help on serial port communication.


Powered by phpBB® Forum Software