Re: [opensc-devel] card minidriver update for windows.

2010-01-25 Thread Alon Bar-Lev
On Mon, Jan 25, 2010 at 11:55 AM, Peter Stuge wrote: > > Certainly! This example is meant for Windows MinGW, but just add the > cross prefix for gcc and windres in Makefile and you're done. > > With my i686-mingw32 it builds to dlg.exe size 5632. libtool does it [almost] automatically. opensc use

Re: [opensc-devel] card minidriver update for windows.

2010-01-25 Thread Peter Stuge
Andreas Jellinghaus wrote: > > Andreas Jellinghaus wrote: > > > > - Improve register key management and .inf file to manage all > > > > cards (with options to not manage some cards) - Documentation > > > > > > hmm. a simple gui app could help users to manage that. but no idea > > > what an easy w

Re: [opensc-devel] card minidriver update for windows.

2010-01-25 Thread Andreas Jellinghaus
Am Montag 25 Januar 2010 10:20:55 schrieb Peter Stuge: > Andreas Jellinghaus wrote: > > > - Improve register key management and .inf file to manage all > > > cards (with options to not manage some cards) - Documentation > > > > hmm. a simple gui app could help users to manage that. but no idea >

Re: [opensc-devel] card minidriver update for windows.

2010-01-25 Thread Martin Paljak
On Jan 25, 2010, at 11:21 , Andreas Jellinghaus wrote: > Am Montag 25 Januar 2010 09:21:01 schrieb Martin Paljak: >> Hello, >> >> Some thoughts on the minidriver topic. >> >> In theory, it should look like this: >> >> minidriver -> libopensc -> pcsc > > hu? I thought the smart card base driver

Re: [opensc-devel] card minidriver update for windows.

2010-01-25 Thread Andreas Jellinghaus
Am Montag 25 Januar 2010 09:21:01 schrieb Martin Paljak: > Hello, > > Some thoughts on the minidriver topic. > > In theory, it should look like this: > > minidriver -> libopensc -> pcsc hu? I thought the smart card base driver opens the reader and looks at the ATR, and then loads the correspo

Re: [opensc-devel] card minidriver update for windows.

2010-01-25 Thread Peter Stuge
Andreas Jellinghaus wrote: > > - Improve register key management and .inf file to manage all > > cards (with options to not manage some cards) - Documentation > > hmm. a simple gui app could help users to manage that. but no idea > what an easy way to write a simple gui is on windows these days.

Re: [opensc-devel] card minidriver update for windows.

2010-01-25 Thread Martin Paljak
Hello, On Jan 25, 2010, at 10:10 , Andreas Jellinghaus wrote: > A few things I noticed: > * latest changes martin made to slot/reader logic etc. will break > your code. martin, can you help to port it to latest trunk? 1. sc_disconnect_card() does not have the unused action parameter. 2. there are

Re: [opensc-devel] card minidriver update for windows.

2010-01-25 Thread Martin Paljak
Hello, Some thoughts on the minidriver topic. In theory, it should look like this: minidriver -> libopensc -> pcsc like there is on macosx: Tokend -> libopensc -> pcsc or the PKCS#11 module: opensc-pkcs11 -> libopensc -> pcsc Thus it could sit in a separate driectory like src/minidriv

Re: [opensc-devel] card minidriver update for windows.

2010-01-25 Thread Andreas Jellinghaus
A few things I noticed: * latest changes martin made to slot/reader logic etc. will break your code. martin, can you help to port it to latest trunk? * the reader driver for the card module: maybe it would be clearer if it had a file of its own? or does it share code with the pcsc reader driv