Can't PInvoke DLL "Winscard.dll"
-
13 martie 2012 11:19
Dears, Hi
I am new developer in smartCard applications for WinCE. I installed device driver of 'OmniKey 5321 CR' in WinCE 6.0.
But in calling SCardEstablishContext(....) function I faced with this error : "Can't PInvoke DLL "Winscard.dll".
Would you please guide to How can I work with smartcard in WinCE 6.0 ?
Thanks in advance,
Farzad
Toate mesajele
-
13 martie 2012 19:16
Hi Farzad,
your "Winscard.dll" dll is supported for .net compact framework ?
may be seperate dll available for compact framework.
Regards
Kayden
-
14 martie 2012 03:07
"winscard.dll" is a native DLL, not a .NET one. That's why he need P/Invoke.
Suggested check the function signature you used with the one in pinvoke.net and see if there's any difference(s) that can case the failure.
EDIT: AFAIK, Quicktime also use this DLL. If you have doubt on whether there's some problem loading this DLL, consider install Quicktime to see if it can read from your card reader, or if it fixes your problem.- Editat de cheong00 14 martie 2012 03:14
- Editat de cheong00 14 martie 2012 03:16
- Editat de cheong00 14 martie 2012 03:16
- Propus ca răspuns de Mike FengMicrosoft Contingent Staff, Moderator 15 martie 2012 05:54
- Marcat ca răspuns de Mike FengMicrosoft Contingent Staff, Moderator 26 martie 2012 12:47