APDUPlay icon indicating copy to clipboard operation
APDUPlay copied to clipboard

Remove legacy winscard.dll functions - unresolved in Win10

Open payterms opened this issue 5 years ago • 6 comments

Hello!

Trying to use APDUPlay at WIN10. There are some errors.

Could not find SCardUIDlgSelectCardW procedure address Could not find GetOpenCardNameA procedure address Could not find GetOpenCardNameW procedure address Could not find SCardDlgExtendedError procedure address

payterms avatar Oct 11 '18 07:10 payterms

Hi, thank you for reporting. I do assume that these errors are found in the created log file, right? The reason is that these functions are old legacy deprecated function from Microsoft winscard.dll library and were at some point dropped by MS completely. The APDUPlay shall work just fine without these (unless some very old app will try to load and use tehse functions specifically).

I will fix this by removal of these function completely.

petrs avatar Oct 11 '18 07:10 petrs

Yes. These notification are written in log. It seems that some browser plugins for working with smart card that call these functions failed to run without ones.

payterms avatar Oct 11 '18 09:10 payterms

Maybe it's better to redirect calls of these functions to native SCardDlg.dll library?

payterms avatar Oct 11 '18 11:10 payterms

OK, in that case, redirection is better option. Can you please specify the browser plugin using this so I can test the result?

petrs avatar Oct 11 '18 17:10 petrs

Here it is. https://chrome.google.com/webstore/detail/nspk-card-plugin-forchro/ligkgcaamcllndjijklegagpnfajnkbo You can select "Delete logs item" yellow item It tries to access the list of available readers for cleaning the logs at inserted card.

payterms avatar Oct 12 '18 11:10 payterms

any progress on this?)

TheBestTvarynka avatar Jul 11 '23 09:07 TheBestTvarynka