The Java side of OCF is easy to modify (if you know some java). I don't have any ready patches though. I think the source code at sourceforge can be used. Modify opencard/terminals/pcsc/com/ibm/opencard/terminal/pcsc10/OCFPCSC1.java and change cardhandles that are ints to longs. You must do this so it matches OCFPCSC1.h from pcsc-lite svn. When you change OCSPCSC1.java you will get a few other java compilation errors so you can easily find the other places where you have to replace ints with longs.
When this is done, you can build a new ocf jar and run.
Cheers, Tomas Nuutti Kotivuori wrote:
Hello, I'm doing some Java card applications on my box right now. I'm using OCF 1.2 with PCSC-Lite and the box is a Debian AMD64 installation. And obviously, I'm having some problems. I already found the patches on the list for PCSC-Lite and saw that they were in the svn repository, so I checked out the svn repository head and compiled that. But as I gathered from the mails, I still need some patches to the Java side of OCF 1.2. Right now I haven't even compiled OCF myself - I have just used the jars directly. So where could I get this patch for OCF? OCF development seems to be rather dead, but is there an open source project continuing development? I stumbled upon opencard.sourceforge.net, but that doesn't look active either. And, if there's something else I need to be aware of, I'd love to hear about it. TIA, -- Naked _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
_______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
