Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
From: moHammed SadiQ (Mohammed.SADIQGEMPLUS.COM)
Date: Wed Sep 03 2003 - 05:52:21 CDT
If you are using GPM8K the attached code must work with GemPC410 & GemPC430.
Make sure that you call SCardConnect with SCARD_SHARE_DIRECT.
Use #define IOCTL_TRANSPARENT SCARD_CTL_CODE(0x800)
By the way, use the with caution, as it is written by an amateur (myself).
[A smartcard evangelist]
Whether you think that you can, or that you can't, you are usually right.
- Henry Ford
>From: Andrea Rosetti [mailto:andrea.rosettiHSE-SYSTEMS.COM]
>Sent: Wednesday, September 03, 2003 4:03 PM
>I'm a beginner in smart card programming with PC/SC.
>This is my problem:
>I would like to write a C program to access to a memory card
>through a gemplus PC410 card reader.
>I know (but I don't know if it is the truth) that I can access
>card (syncronous card) only with
>SCardControl function, after I have opened the connection by means the
>Could someone send me a C example (or other documentation) where I can
>understand how I can fill the parameters
>of ScardControl function, and specifically the values to insert in
>lpInBuffer and lpOutBuffer
>For example, if I would like write (or read) 10 bytes on the card, how
>can I do?
>I don't know also which are the codes for specifing the kind of
>operation that I want to perform on the card
>(for example, reading, writing and so on).
>Thanks in advance
- TEXT/plain attachment: testGP8K.c