 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Christian Marko Guest
|
Posted: Tue Aug 24, 2004 7:15 am Post subject: COMM API and PCMCIA |
|
|
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
|
|
| Back to top |
|
 |
Nik Cross Guest
|
Posted: Fri Aug 27, 2004 12:20 pm Post subject: Re: COMM API and PCMCIA |
|
|
[email]chris.marko (AT) mwebdev (DOT) com[/email] (Christian Marko) wrote in message news:<d18fbeec.0408232315.15fcd0ad (AT) posting (DOT) google.com>...
| Quote: | 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.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|