The changes in R5212 were added to get the cardmod to build using
Visual Studio 2008 run on W7 64 to produce 32 bit modules. I tested
on Vista with login, and partially tested on XP. ZLIB-1.2.5
was used but OpenSSL was not. My testing consisted of copying the
opensc-cardmod.dll to some location, then changing the registry so the
BaseCSP would use this dll.

  The _WIN32_WINNT was change to 502 which supports XP SP2 and 2003 SP1
  and above. If there is some reason to support any systems older
  then these, place change this back. (VS 2010 may mot support anything
  less then 502.)

  There are still two #ifdef ENABLE_CARDMOD in the code, so the
  MINIDRIVER_DEF was change to use /DENABLE_CARDMOD
  COPTS now passes in $(MINIDRIVER_DEF)

  The Makefile.mak creates opensc-cardmod.dll, where as the mingw
  will create opensc-cardmod32.dll (and will use dynamic libs) so there
  are still some changes needed.

  The cardmod\Makefile.mak now link with opensc_a.lib as well as any
  ZLIB_LIB or OPENSSL_LIB

  The tools are not being built static, as it looks like they are
  using opensc.lib rather the opensc_a.lib That may be OK, as
  opensc.dll is 1.5Mb,  and there art least 8 tools. Even having
  OpenSSL and ZLIB linked into opensc.dll would make our
  distribution easier. Having opensc-cardmod.dll as self contained
  is even more of a benifit.

  STATIC was used, I did not try without it.

-- 

  Douglas E. Engert  <deeng...@anl.gov>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to