Hi
In the code:
HINSTANCE hinDLL;
hinDLL = LoadLibrary((LPCWSTR("WinSCard.dll"));
if (hinDLL != 0)
{
context=(EstablishContext) GetProcAddress(hinDLL,"SCardEstablishContext");
listreaders=(ListReaders) GetProcAddress(hinDLL,"SCardListReaders");
sconnect=(Connect) GetProcAddress(hinDLL,"SCardConnect");
}
else{
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??