Alessandro,
Firstly, there may be two things to check:
1. If the gen_twk.dll component has been registered in your PCs registry. If
not, you may want to make sure that the software was installed correctly.
There may be special instructions for this file.
2. Should the gen_twk.dll file be in the system directory e.g.
winnt/system32 or windows/system directories? (I am assuming that you are
developing on a windows platform). If the component is registered, you can
use an OLE viewer (such as OLE View that comes with Visual Studio) to
determine where the dll should reside in your directory structure.
Hope this helps to resolve the issue.
Cheers,
Robyn
p.s., please post back on how it goes
>From: "Alessandro Matti" <[EMAIL PROTECTED]>
>To: "OCF" <[EMAIL PROTECTED]>
>Subject: [OCF]: Problem with Towitoko and OCF
>Date: Thu, 12 Oct 2000 12:45:13 +0200
>
>I work for SSB and i use OCF.
>
>I install towitoko21411_driver.zip and i work with a towitoko chipdrive
>100
>on COM1 port.
>
>I add to the opencard.properties:
>
>
>OpenCard.services = opencard.opt.util.PassThruCardServiceFactory
>OpenCard.terminals =
>com.ibm.opencard.terminal.pcscmig.PcscMigCardTerminalFactory
>
>
>and i add to the readers.cfg
>
>
>
>Reader[1]
>PORT_NUMBER = 1
>READER_NAME = TOWITOKO terminals
>DLL_NAME = gen_twk.dll
>
>
>
>my opencard.properties is in \jdk1.2.2\jre\lib directory;
>my readers.cfg is in \OpenCard\OCF1.2\lib directory;
>my gen_twk.dll is in in \OpenCard\OCF1.2\lib directory;
>
>I execute this code
>
>
>
> try {
> SmartCard.start();
> }
> catch (OpenCardPropertyLoadingException e)
> {
> e.printStackTrace(System.err);
> }
> catch (CardTerminalException e)
> {
> e.printStackTrace(System.err);
> }
> catch (CardServiceException e)
> {
> e.printStackTrace(System.err);
> }
> catch (java.lang.ClassNotFoundException e)
> {
> e.printStackTrace(System.err);
> }
>
>
>
>but the execution is reset without an exception; the execution's trace is:
>
>
>
>[DEBUG ] opencard.core.service.SmartCard.getRegistryEntry
>--- message tag OpenCard.terminals =
>com.ibm.opencard.terminal.pcscmig.PcscMigCardTerminalFactory
>--- thread Thread[main,5,main]
>--- source class opencard.core.service.SmartCard
>Hit uncaught exception java.lang.Exception
>[DEBUG ]
>com.ibm.opencard.terminal.pcscmig.PcscMigCardTerminalFactory.PcscMigCardTerm
>inalFactory
>--- message connect to PCSC Migration
>--- thread Thread[main,5,main]
>--- source
>com.ibm.opencard.terminal.pcscmig.PcscMigCardTerminalFactory@7b8c0a96
>
>
>
>
>Please tell me how can i risolve this problem?
>Thanks
>Alessandro Matti
>
>
>
>---
> > 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.
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
---
> 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.