Discussion:
COMM API and PCMCIA
(too old to reply)
Christian Marko
2004-08-24 07:15:16 UTC
Permalink
Hi!

Does anyone have experiences with the COMM API and the usage of the
PCMCIA port? With the COMM API the PCMCIA ports should also be found,
or not?

I have a PCMCIA port on my notebook, but this port won't be found, by
the appropriate class of the COMM API. As i read in other posts, the
port should be found. Can anyone help me?

Regards
Chris
Nik Cross
2004-08-27 12:20:21 UTC
Permalink
Post by Christian Marko
Hi!
Does anyone have experiences with the COMM API and the usage of the
PCMCIA port? With the COMM API the PCMCIA ports should also be found,
or not?
I have a PCMCIA port on my notebook, but this port won't be found, by
the appropriate class of the COMM API. As i read in other posts, the
port should be found. Can anyone help me?
Regards
Chris
As a first thought, have you initialized the comm driver.
I forgot and couldn't see any ports until I used this:

String driverName = "com.sun.comm.Win32Driver";
try{
CommDriver commdriver = (CommDriver)Class.forName(driverName).newInstance();
commdriver.initialize();
}
catch (Exception e2)
{
e2.printStackTrace();
}

If this doesn't help maybe you could post your code.

Loading...