Access WinSCard PCSC in ANSI C
For those who need to control or access PC/SC Smart Card Reader by using ANSI C compiler, it's suitable article for you. I'll show you how to invoke WinSCard.dll file provided by Microsoft Windows. We'll use Pelles C compiler to make it easier because you don't need to configure your compiler and connect it with Windows SDK (Software Development Kit). The reason is the compiler contains all Windows library and configure it automatically for you. All you have to do is just download it from trusted site and install it. And don't worry, the source code you've created will run properly in C++ and C++/CLI as well.