I got problem when wrapping the Winscard functions in my own DLL..
The goal that i want to achieve is to simplify function calling from my Main DLL..
So, my Main DLL just execute verifyPIN(), checkCounter(), and so on..
But i got error in transmitting APDU Command using SCardTransmit method..
The error code that i got is : 0x0E..
I have already test the code (which is written in DLL) in Console Application.. And it works..
But i don't know exactly why it (the same code) doesn't work if it's implemented in DLL..