Click here to Skip to main content
15,889,992 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I'm doing a interfacing for ACR122u and VB2010. i have search the net and it point to using winscard.dll, i have manage to code all of the function, my scardlistreaders function manage to detect the ACR122u, however my hContext has invalid value, which when i used to scardconnect, the scardconnect return not 0 value. i have place the rfid card on the reader during this test.

can anyone help me to advise the proper way of using winscard dll function in vb2010 and communication to rfid tags. i already check the net. but still my result is still the same.

my sequece is that

scardestablishcontext - return 0 (hcontext has this large value - which i guess is not correct)
scardlistreaders - return 0 (manage to detect the rfid reader installed)
scardconnect - return non 0 value (even there is a rfid card in the reader)
scardtransmit - return 6

my os is window 7, 32 bit

Thanks,
Posted
Updated 19-Jan-15 19:04pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900