Hi
I am trying to develop an interface for pocket pc , that reads certificates from smart card [ using smartcard reader SCR 201] .
I got a smaple application from microsoft, but when i tried to build , it gives the following error messages
rdspec_card.obj : error LNK2019: unresolved external symbol _SCardReleaseContext referenced in function "private: bool __cdecl CCard::AttachToCard(void)" (?AttachToCard@CCard@@AAA_NXZ)
crdspec_card.obj : error LNK2019: unresolved external symbol _SCardConnectW referenced in function "private: bool __cdecl CCard::AttachToCard(void)" (?AttachToCard@CCard@@AAA_NXZ)
crdspec_card.obj : error LNK2019: unresolved external symbol _SCardEstablishContext referenced in function "private: bool __cdecl CCard::AttachToCard(void)" (?AttachToCard@CCard@@AAA_NXZ)
crdspec_card.obj : error LNK2019: unresolved external symbol _SCardDisconnect referenced in function "private: void __cdecl CCard::ReleaseCard(void)" (?ReleaseCard@CCard@@AAAXXZ)
SH3Dbg/ServiceProvider.dll : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.
ServiceProvider.dll - 5 error(s), 0 warning(s)
I am using eVC 4 . Why am i getting these error messages
my link setting are
commctrl.lib coredll.lib winscard.lib winsock.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /incremental:yes /pdb:"SH3Dbg/ServiceProvider.pdb" /debug /nodefaultlib:"$(CENoDefaultLib)" /out:"SH3Dbg/ServiceProvider.dll" /implib:"SH3Dbg/ServiceProvider.lib" /subsystem:$(CESubsystem) /MACHINE

H3 /align:4096
i would apreciate if anyone could help me
Thanks in advance
Anil