Hi there,
IE4/5 works fine with 'javax.comm'! To integrate the Communications
API from Sun into the Internet Explorer runtime environment on
a NT4 system just
- extract the 'comm.jar' archive to '%SystemRoot%\Java\classes\',
- copy the 'Win32Com.dll' library to a directory which is contained in
your system %Path%,
- copy the 'javax.comm.properties' file to '%SystemRoot%\Java\lib\'.
Generate either a test certificate using 'MakeCert.exe' from the
latest Microsoft Java SDK (we're running v3.2) or use a real one obtained
from the MS Certificate Server to sign your Java cabinet file with
full permissions. Verify the signature using 'ChkJava.exe'.
The statements
SystemAccess sys = new MicrosoftSystemAccess();
SystemAccess.setSystemAccess( sys );
must precede the call to 'SmartCard.start()'. In addition to that,
the sequence
try
{
if( Class.forName( "com.ms.security.PolicyEngine" ) != null )
{
try {
com.ms.security.PolicyEngine.assertPermission(
com.ms.security.PermissionID.SYSTEM );
}
catch( UnsatisfiedLinkError e ) {
}
}
}
catch( ClassNotFoundException x ) {}
should introduce the method executed by the thread which does
the initialization of the serial data exchange based on the
Communication API.
Maybe this helps.
----------------------------------------------------------------------
Dr.-Ing. Markus A. Stulle - Schleissheimer Stra�e 70 'Java Madman'
D-80797 Muenchen - Germany
Tel./FAX: (+49 89) 520 59 001
GSM: (+49 171) 213 - 70 84
GSM-FAX: (+49 171) 214 - 84 74, GSM-Data: - 86 74
AOL-FAX: (+40) 36 03 - 02 00 16
EMail: [EMAIL PROTECTED], [EMAIL PROTECTED]
-----------+===+------------------------------------------------------
> press |ESC| key once to abort program or twice to continue! <
-----------+===+------------------------------------------------------
Visit the OpenCard Framework's WWW site at http://www.opencard.org/ for
access to documentation, code, presentations, and OCF announcements.
-----------------------------------------------------------------------------
To unsubscribe from the OCF Mailing list, send a mail to
"[EMAIL PROTECTED]" with the word "unsubscribe" in the BODY of the
message.