Re: Winscard support (for smart cards)

2007-05-07 Thread Mounir IDRASSI
Hi all, We have noticed that our first patch for winscard containing only the headers have not been applied yet. Is this a normal delay? Is there any pending issues? Should we send the remaining list of patches to complete the winscard implementation? Any comments/remarks are welcomed. Cheers,

Re: Winscard support (for smart cards)

2007-05-07 Thread Detlef Riekenberg
On Mo, 2007-04-30 at 00:58 +0200, Mounir IDRASSI wrote: +#define SCARD_S_SUCCESS0x +#define SCARD_F_INTERNAL_ERROR 0x8011 /** An internal consistency check failed. */ +#define SCARD_E_CANCELLED 0x8012 /** The action

Re: Winscard support (for smart cards)

2007-05-01 Thread Eric Pouech
Mounir IDRASSI a écrit : Hi all, Followings your comments, I have rewritten the header files and split winscard.c into smaller files. You'll find attached with this email a patch containing only the headers and a skeleton for this dll. Once integrated into the source tree, I'll provide another

Re: Winscard support (for smart cards)

2007-05-01 Thread Mounir IDRASSI
Hi Eric, I am afraid I don't see any MS comments in scarderr.h: I have written all the file from scratch and the comments are mine. Can you point them out please? In the final implementation, all the functions are needed even if they are stubs because they can be called by applications that ignore

Re: Winscard support (for smart cards)

2007-05-01 Thread Eric Pouech
Mounir IDRASSI a écrit : Hi Eric, I am afraid I don't see any MS comments in scarderr.h: I have written all the file from scratch and the comments are mine. Can you point them out please? sorry, I didn't actually compare the files, just saw the comments (my bad) In the final implementation,

Re: Winscard support (for smart cards)

2007-05-01 Thread Mounir IDRASSI
Hi, Please find attached the patch for adding header files for the support of smart cards through Winscard dll. If it's OK, should I post it elsewhere? Thanks in advance. Mounir IDRASSI IDRIX - Cryptography and IT Security Experts http://www.idrix.fr Eric Pouech wrote: sorry, I didn't

Re: Winscard support (for smart cards)

2007-05-01 Thread Eric Pouech
Mounir IDRASSI a écrit : Hi, Please find attached the patch for adding header files for the support of smart cards through Winscard dll. If it's OK, should I post it elsewhere? Thanks in advance. yes to [EMAIL PROTECTED] A+ -- Eric Pouech The problem with designing something completely

Re: Winscard support (for smart cards)

2007-04-30 Thread Kai Blin
On Monday 30 April 2007 00:58, Mounir IDRASSI wrote: Hi all, We have managed to integrate our winscard source code into the wine source tree, including the configure.ac and Makefine.in files. As described in the developer's guide, I am attaching with this email the output of the command git

Re: Winscard support (for smart cards)

2007-04-30 Thread Eric Pouech
Mounir IDRASSI a écrit : Hi all, We have managed to integrate our winscard source code into the wine source tree, including the configure.ac and Makefine.in files. As described in the developer's guide, I am attaching with this email the output of the command git format-patch origin. Can

Re: Winscard support (for smart cards)

2007-04-30 Thread Mounir IDRASSI
Hi , Thank you for all your comments. Concerning the header files, they contain portions taken from Microsoft headers. We will rewrite them to remove any copyright issues. For the types used, they are more close to pcsc-lite than Microsoft but still compatible at the binary level. We will modify

Re: Winscard support (for smart cards)

2007-04-30 Thread Eric Pouech
Mounir IDRASSI a écrit : Hi , Thank you for all your comments. Concerning the header files, they contain portions taken from Microsoft headers. We will rewrite them to remove any copyright issues. For the types used, they are more close to pcsc-lite than Microsoft but still compatible at the

Re: Winscard support (for smart cards)

2007-04-30 Thread Mounir IDRASSI
Hi Eric, I have tested your hint concerning the final single call to MultiByteToWideChar in order to convert the whole area but it didn't work: even when I specify the whole length of the multi-string, it keeps stoping at the first NULL character. I guess MultiByteToWideChar and

Re: Winscard support (for smart cards)

2007-04-30 Thread Eric Pouech
Mounir IDRASSI a écrit : Hi Eric, I have tested your hint concerning the final single call to MultiByteToWideChar in order to convert the whole area but it didn't work: even when I specify the whole length of the multi-string, it keeps stoping at the first NULL character. I guess

Re: Winscard support (for smart cards)

2007-04-30 Thread Mounir IDRASSI
oups ...sorry...It was my fault! You are as absolutely right. Mounir IDRASSI IDRIX - Cryptography and IT Security Experts http://www.idrix.fr Eric Pouech wrote: they should work across the whole buffer are you sure you don't pass -1 as the length for the input buffer ? A+

Winscard support (for smart cards)

2007-04-25 Thread mounir . idrassi
Hi, We have noticed that wine doesn't have the winscard dll responsible for the support of smart cards under windows. For the need of one of our projects, we are currently developing this dll for wine under Linux based on the pcsc-lite library. Once done, we'll share it with the community.

Re: Winscard support (for smart cards)

2007-04-25 Thread Saulius Krasuckas
* On Wed, 25 Apr 2007 [EMAIL PROTECTED] wrote: For the need of one of our projects, we are currently developing this dll for wine under Linux based on the pcsc-lite library. Cool. Once done, we'll share it with the community. Nice, but IMHO it would be best for the community if you will

re: Winscard support (for smart cards)

2007-04-25 Thread Dan Kegel
I'm thrilled you're working on this! I must urge you to submit code early and often to Wine. The first patch you should send should just implement a stub dll. We can help you with that if you need it. Here's a good example of a new stuff DLL:

Re: Winscard support (for smart cards)

2007-04-25 Thread mounir . idrassi
Saulius Krasuckas [EMAIL PROTECTED] wrote: IMHO it would be best for the community if you will start doing this immediatelly, not once done. Unfortunately, we are well advanced and we can't do it that way due to other constraints in the project. Another bad point is that, since we are not

Re: Winscard support (for smart cards)

2007-04-25 Thread Vijay Kiran Kamuju
Hi, If there is a sample implementation or some kinda initial source code. (Just send a initial code) We can try to help you in integrating the code into wine tree. By progressing step by step. Thanks, VJ On 4/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Saulius Krasuckas [EMAIL

Re: Winscard support (for smart cards)

2007-04-25 Thread Stefan Dösinger
Am Mittwoch 25 April 2007 18:48 schrieb [EMAIL PROTECTED]: Hi, We have noticed that wine doesn't have the winscard dll responsible for the support of smart cards under windows. For the need of one of our projects, we are currently developing this dll for wine under Linux based on the