Can TSC access to client COM port?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I write a C program to communicate with local PC COM port. The program run successful in local PC. But If I connect to Windows 2000 server using the Terminal Service client and run the client C program(the C program are save in client PC only) then the program is not working. The C program try to communicate with Server COM port not Client COM port

Can TSC access to local COM port. Please help....

T
 
I try to use NET USE com1 \\tsclient\com1 on windows 2003 TSC(since windows 2k are not supported),
and my C program define the following
#define COM1BASE 0x3F8 /* Base port address for COM1 *
1. Can i know 'tsclient' refer to which client PC when more than 1 client are connect to server
As i know it try to detect my local port, rite
2. By using NET USE, the status show "Unavailable", why? N there are extra <local = c: & remote = \\tsclient\com1
found there. when i go to my computer, the network drive : com1 on 'tsclient'(C:) are found & this are point to my serve
C directory
3. I try to call C program N the message are given : 16 bit MS-DOS subsyste
"The system cannot open COM1 port requested by by application......

TQ
 
Back
Top