Re: Omnikey Cardman 4000

Martin Preuss <[email protected]> Sun, 29 Apr 2007 17:40:00 +0200
Newsgroups gmane.comp.lib.libchipcard.devel
Message-ID <[email protected]>
Moin,

On Sunday 29 April 2007 15:54, Henryk Plötz wrote:
[...]
> Am Thu, 26 Apr 2007 19:57:33 +0200 schrieb Christian Schuermann:
[...]
> 32bit-versions of these too. Maybe it is even possible to statically
> compile the driver.
[...]
It should definately be possible, but that would require you to introduce a 
keyword into the Makefile and rebuild that specific driver. But it should 
work. After all the driver loader is a very simple one, it only needs a 
subset of libchipcard's library...

[...]
> However, I'm still not convinced that this approach should work at all.
> @Martin: Can the protocol that is used between chipcardd and the driver
> be used between 32/64-bit-processes? E.g. does it use any data types
> whose size and alignment changes between architectures?
[...]
Nope, it only uses well defined types (such as uint32_t etc), which have the 
same size on *all* platforms (unlike PC/SC as I just found out, which uses 
Windows-based types and defines them in a faulty way, e.g. DWORD=unsigned 
long, which in fact on 64 bit platforms is 64 bits wide).

Please note that libchipcard was designed with multi-host environments in mind 
(or thin clients etc).

So interoperability is a key feature.


Regards
Martin
-- 
"Things are only impossible until they're not"

AqBanking - http://www.aqbanking.de/
LibChipcard - http://www.libchipcard.de/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/