There is actually a bug in Win32com.dll, this is a tweak I found on the
web to get around it. Put this in the init function of the applet.
String drivername = "com.sun.comm.Win32Driver";
try //circumvent a bug in Win32com.dll
{
CommDriver driver =
(CommDriver)Class.forName(drivername).newInstance();
driver.initialize();
}
catch (Exception e)
{
System.out.println ("Init Failed: " + e.getMessage
());
}
On Fri, 21 Mar 2003, Geneiatakis Dimitrios wrote:
> When i run an applet i get : Caught java.lang.NullPointerException: name
> can't be null while loading driver com.sun.comm.Win32Driver
> I can't find the reason can any one help ?
>
>
> ---
> > Visit the OpenCard web site at http://www.opencard.org/ for more
> > information on OpenCard---binaries, source code, documents.
> > This list is being archived at http://www.opencard.org/archive/opencard/
>
> ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
> ! to
> ! [EMAIL PROTECTED]
> ! containing the word
> ! unsubscribe
> ! in the body.
>
--
Alejandro Wille
---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/
! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
! [EMAIL PROTECTED]
! containing the word
! unsubscribe
! in the body.