COMM

Hello.i have a question. i want work with my com-ports. but when i write:port = (CommPort)c.open("Unknown Windows Application", 2000);i have :javax.comm.PortInUseException: Port currently owned by Unknown Windows Applicationhow can i solve this problem?
[295 byte] By [Nushasilaa] at [2007-11-26 19:56:41]
# 1
Buy a lamborghini.Ted.
ted_trippina at 2007-7-9 22:50:56 > top of Java-index,Java Essentials,Java Programming...
# 2
DEBILA KYSOK!!!! i have lambordgini yet!
Nushasilaa at 2007-7-9 22:50:56 > top of Java-index,Java Essentials,Java Programming...
# 3
Make sure the port is *not* in use by another application. If necessary, by making sure you close your own resources if you run that app twice.
CeciNEstPasUnProgrammeura at 2007-7-9 22:50:56 > top of Java-index,Java Essentials,Java Programming...
# 4
> Make sure the port is *not* in use by another> application. If necessary, by making sure you close> your own resources if you run that app twice.It does look suspiciously like his own, doesn't it? ;-)
masijade.a at 2007-7-9 22:50:56 > top of Java-index,Java Essentials,Java Programming...
# 5
i have 3 ports: LPT1, LPT2, COM3and i'm trying to use every port, any port give me exeption:PortInUseException
Nushasilaa at 2007-7-9 22:50:56 > top of Java-index,Java Essentials,Java Programming...
# 6
Buy more ports. You can get those devices that plug into a USB slot and give u more ports.Ted.
ted_trippina at 2007-7-9 22:50:56 > top of Java-index,Java Essentials,Java Programming...
# 7

> Buy more ports. You can get those devices that plug

> into a USB slot and give u more ports.

Most of the time that doesn't work because those converters simply

convert USB to RS/232, RS/422 or RS/485 while at the PC side the

port is just a USB port which isn't recognized by those serial packages.

kind regards,

Jos

JosAHa at 2007-7-9 22:50:56 > top of Java-index,Java Essentials,Java Programming...
# 8
I'm afraid was being silly. (Just got back from a rather successful pub lunch)Ted.
ted_trippina at 2007-7-9 22:50:56 > top of Java-index,Java Essentials,Java Programming...