[Smartsign-devel] Re: [Smartsign-users] Re: question on winscard.dll import library
Status: Pre-Alpha
Brought to you by:
kefren
From: Scott N. <sn...@tr...> - 2002-01-16 17:19:22
|
Tommaso, Thank you for your help - my application is successfully using Microsoft's winscard.dll now. I just regenerated the .def file and it worked fine after linking with the options you gave me. Regards, Scott ----- Original Message ----- From: "Tommaso Cucinotta" <cuc...@ss...> To: "Scott Noble" <sn...@tr...> Cc: <Sma...@li...>; <sma...@li...> Sent: Monday, January 14, 2002 8:54 AM Subject: Re: [Smartsign-users] Re: question on winscard.dll import library > Scott Noble wrote: > > > > Hi Tommaso, > > > > Thanks for the quick response. I tried adding the --add-stdcall-alias > > and --kill-at options when creating the import library, but the linker is > > still giving me a slew of "undefined reference" errors. I was also > > wondering what tool you use to generate your .def file, as the link to > > impdef.exe on the Cygwin page is bad. > > You can either try this (it seems an official and the right one): > > http://programming.ccp14.ac.uk/ftp-mirror/programming/mingw32/home/janjaap/m ingw32/platform-SDK/def/winscard.def > > or the one I included in a previous email of mine, or use impgen.exe or > some other tool from the Internet to generate it. > > I don't exactly remember which one gave me the right .def file, sorry. > > Please, let me know how this story ends so I can eventually > include it in the FAQ page on Smart Sign. > > > Once you got > > your application to link to winscard.dll, did you have any more problems? > > Nope. Just pay attention with gpkcs11.ini (gpkcs11.rc) for > Windows, as it requires all of the paths to be specified > in the Windows style (C:\xxx\yyy\...). And check the position > of the file itself, of course. I've put some note in the README > in the card-edge-token package itself. > > Bye, > T. > > -- > /------------------------------------------------\ > | Dr. Tommaso Cucinotta <t.c...@ss...> | > +------------------------------------------------+ > | Scuola Superiore di Studi Universitari | > | e Perfezionamento S.Anna | > | Pisa Italy | > \------------------------------------------------/ > |