opensc-pkcs11.dll %1 is not a valid Win32 application

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

opensc-pkcs11.dll %1 is not a valid Win32 application

fachhoch
This post has NOT been accepted by the mailing list yet.
I am trying to use open-scpkcs11.dll for my java application to read a smart card, I get this error   %1 is not a valid Win32 application ,  I installed 64 bit opensc,   jdk running on 32 bit, I tried to install 32 bit  opensc but It did not create the dll file.  Please advice where to get 32 bit opensc-pkcs11.dll

Below is the error I get from my java   app.
Caused by: java.io.IOException: %1 is not a valid Win32 application.
C:\temp\opensc\opensc-pkcs11.dll
	at sun.security.pkcs11.wrapper.PKCS11.connect(Native Method)
	at sun.security.pkcs11.wrapper.PKCS11.<init>(PKCS11.java:138)
	at sun.security.pkcs11.wrapper.PKCS11.getInstance(PKCS11.java:151)
	at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:313)