Hello, Another patch for compilation with Visual Studio. Visual Studio use preprocessor WIN32 so I use ifdefine for include compat_getop.h.
Sincerely, GJean -----Message d'origine----- De : opensc-devel-boun...@lists.opensc-project.org [mailto:opensc-devel-boun...@lists.opensc-project.org] De la part de JEAN Guillaume Envoyé : jeudi 16 septembre 2010 11:40 À : opensc-devel@lists.opensc-project.org Objet : [opensc-devel] RE : OpenSC and Debug with Visual Studio Hello, Yes I try to work more Foreign Languages. :-) Now with revision 4723 I have a problem for run cardmod. I try to find bug but it's difficult :-) I have this error SCARD_E_SHARING_VIOLATION. with this log 2010-09-16 11:33:51.413 PC/SC options: connect_reset=1 connect_exclusive=0 transaction_reset=0 enable_pinpad=1 2010-09-16 11:33:55.038 [cardmod] c:\opensc-vc\sources\libopensc\reader-pcsc.c:723:pcsc_detect_readers: called 2010-09-16 11:33:55.038 Probing pcsc readers 2010-09-16 11:33:55.038 Establish pcsc context 2010-09-16 11:33:55.053 Found new pcsc reader 'OMNIKEY CardMan 5x21 0' 2010-09-16 11:34:05.771 Requesting reader features ... 2010-09-16 11:34:25.892 OMNIKEY CardMan 5x21 0:SCardConnect: 0x8010000b And after the program stop running. GJean ________________________________________ De : Ludovic Rousseau [ludovic.rouss...@gmail.com] Date d'envoi : mercredi 15 septembre 2010 16:19 À : JEAN Guillaume Cc : opensc-devel@lists.opensc-project.org Objet : Re: [opensc-devel] RE : OpenSC and Debug with Visual Studio 2010/9/15 JEAN Guillaume <guillaume.j...@supinfo.com>: > Sorry, not yet tested the patch Ludovic Rousseau Because the version of the > source I used is the 4620 so I'm updating my sources on Visual and I did the > tests with the patch. > > Here is another patch to remove the traces of C99 in the code that Visual > cardmod can compile the code. Patch applied in revision 4723. Thanks. > Sorry for my english is very bad so I use Google Translate. :-) It looks like you have some hours of "Foreign Languages" in the supinfo.com school program. Il va falloir travailler un peu plus. -- Dr. Ludovic Rousseau _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel
VS-2-getop.patch
Description: VS-2-getop.patch
_______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel