In the code:
hinDLL = LoadLibrary((LPCWSTR("WinSCard.dll"));
if (hinDLL != 0)
cout<<"Library failed to load\n";
m getting values in hinDLL and context but getting undefined values in listreaders and sconnect.
Does GetProcAddress allow its use like i have done??
Yes it does - if you get the function name right ...
SCardConnect have both narrow and wide char implementations,
Use depends.exe to examine the DLL
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)