[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ms-smartcardsdk
Subject:    Re: Compiling SCWCSP for win32
From:       Eric Perlin <ericperl () WINDOWS ! MICROSOFT ! COM>
Date:       2003-08-21 15:35:24
[Download RAW message or body]

Note that this CSP has some serious restrictions.
For example it can't handle 2 cards at the same time. The context
management is poor.
It may even not be able to handle one card after the other without
leaking.

Eric Perlin [MS]

-----Original Message-----
From: SmartCardSDK [mailto:SmartCardSDK@DISCUSS.MICROSOFT.COM] On Behalf
Of Shane Hird
Sent: Wednesday, August 20, 2003 8:36 PM
To: SmartCardSDK@DISCUSS.MICROSOFT.COM
Subject: Compiling SCWCSP for win32


I have managed to locate the SCWCSP example (in the windows CE 4.2
emulation
pack) and am having a go at getting it compiled for the desktop. There
is a
lot of #ifdef win32/wince stuff in there, so I assume it can be compiled
for
the desktop. The trouble is, it comes with no project files so its a
little
bit tricky.

Aside from defining UNICODE and _UNICODE, and declaring the exports, is
there anything else I should be aware of? Has anyone been able to do it?
Does it require the GUI dll as well or will it just use scarddlg?

I also notice that a few of the CP* functions have slightly different
signatures and need to be fixed up, or are they using a particular
version
of cspdk from the Win CE sdk? Perhaps the win ce compiler/environment
ignores those subtle differences?

I gather that to get it working with my custom smart card, I would just
need
to change apiproxy.c, and perhaps a couple other fix ups. What would be
the
license restrictions if I were to do that and want to distribute it as
source and/or DLLs? Could it be used for commercial purposes? The
license
doesn't seem to clear on this particular scenario.

If anyone has some project files and/or modified sources etc of this
project
which will compile under w2k/xp I would really appreciate if you could
send
them my way.

Thanks,
Shane

_________________________________________________________________
ninemsn Extra Storage comes with McAfee Virus Scanning - to keep your
Hotmail account and PC safe. Click here  http://join.msn.com/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic