>I have some fixups to the build. Great Thank you.
>Can you please send me a usable cardmod.h so I can compile this stuff? I will send you in private way. >Also, can we put the .inf and .reg anywhere else but bin? The .reg is not to stay (just for example until we made it by a tool) The .inf is close to opensc-cardmod.dll since the .inf should copy opensc-cardmod.dll To system32. Now If I put opensc-cardmod.dll in system32 and use it this don't work, I guess librairies used by opensc-cardmod.dll are not found in this case even thougth the path is set to the bin directory of opensc. If I use opensc-cardmod directly on bin with other dll this working. >Regarding the 32bit and 64bit card modules, we do not compile both >64bit and 32bit especially you don't put the suffix of 64 to the card >module. Suffix should be fixed - this for sure, I will handle this. I keep this part separatly since I don't know anything about the 64bit,don't know If it's necessarry... >But I am not sure the the SmartCardCardModule64 is indeed 64bit and >the SmartCardCardModule is 32bit. >Also, how do you support multiple cards in the .inf file? To add a card extend the .inf file like this: [Minidriver.NTx86] %CardDeviceName%=Minidriver32_Install,SCFILTER\CID_00640181010c829000 %CardDeviceName%=Minidriver32_Install,SCFILTER\CID_00640181010c829000 -< add your card CID_XXXX provided by windows 7 [AddRegDefault] HKLM, %SmartCardName%,"ATR",0x00000001,3f,69,00,00,00,64,01,00,00,00,80,90,00 HKLM, %SmartCardName%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,00,00,00,f0,ff,ff HKLM, %SmartCardName%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider" HKLM, %SmartCardName%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider" HKLM, %SmartCardName%,"80000001",0x00000000,%SmartCardCardModule% HKLM, %SmartCardNameToto%,"ATR",0x00000001,3f,69,00,00,00,64,01,00,00,00,80,90,00 <- add your ATR card HKLM, %SmartCardNameToto%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,00,00,00,f0,ff,ff <- Add your ATR Mask HKLM, %SmartCardNameToto%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider" HKLM, %SmartCardNameToto%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider" HKLM, %SmartCardNameToto%,"80000001",0x00000000,%SmartCardCardModule% >Thanks! Concerning your fixup, I remember you that mingw32 seems not to have "winscard.h" it's why I've make a complex cardmod.h detection since if you don't have winscard.h you use internal-winscard.h but Cardmod.h still use winscard.h (it's code provided by other ms). Have you an idea best way to handle this? I think about perhaps a symbolic link winscard.h->internal-winscard.h make on build time? What do you think about? Regards, François.
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ opensc-devel mailing list [email protected] http://www.opensc-project.org/mailman/listinfo/opensc-devel
