Solved

USB Reader program

Posted on 2004-09-07
24
2,116 Views
Last Modified: 2013-11-20
I have been order to create an tiny application to read a card from card reader. The system function is, when the card are swipe into the reader the from the pc will automatically run. Can it be done? In card contains card id. Can some one guide me?
0
Comment
Question by:lynxkid2004
  • 15
  • 9
24 Comments
 
LVL 7

Expert Comment

by:jimwasson
ID: 12002461
Of course it can be done. It's done billions of times every day. You need to post some details about your specific card reader and the host -- PC running Windows XP, etc. Does the card reader have an associated interface library?

Generally at the low level you will interface with a serial or a USB port. So your work will generally entail serial or USB interface code to control the reader and extract the stripe data.

0
 

Author Comment

by:lynxkid2004
ID: 12002893
my pc running Windows XP...i have a usb card reader ACR30U-PNC. and i have succesfully installed the driver. i know basic in Input/Ouput in VC++. It's hard to do this?
0
 
LVL 7

Expert Comment

by:jimwasson
ID: 12003021
OK this is a smartcard reader, not a mag card reader. Their site does have documentation and it seems to support the standard winscard dll. It doesn't look very hard but then again I haven't programmed to one of these devices. If you haven't done much device programming then "hard" is kind of difficult to pin down.
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

Author Comment

by:lynxkid2004
ID: 12005079
can some one guide me to program it or else you got sample for me to study
0
 
LVL 7

Expert Comment

by:jimwasson
ID: 12005566
Well, there is an article on writing a smart card library using winscard here:

http://www.devarticles.com/c/a/C++/Writing-a-Smart-Card-Library
0
 

Author Comment

by:lynxkid2004
ID: 12023062
can you describe what tools do i need to support the development other than vb and vc++?
0
 

Author Comment

by:lynxkid2004
ID: 12024178
i am trully insterested and wish i can do this...please help me
0
 
LVL 7

Expert Comment

by:jimwasson
ID: 12025919
What do you have now? You said you installed the driver. Do you have their development kit? Do you have programmed smart cards to go with the reader?
0
 

Author Comment

by:lynxkid2004
ID: 12033362
i dont have the development kit...i know basic of c++ and i can learn fast. i am interested to learn about program that has connection to smartcard. i have ACR30U-PNC smart card reader where it connected to my pc usb port. Then i want to know what are the next step...what tools do i need? where i can download it?
0
 

Author Comment

by:lynxkid2004
ID: 12033376
i confident that i can do this. here is my story line. i recieve a card which contains inside is the Card ID. and card id is 10 digit. So i want the program to detect from smartcard reader if the card has 10 digit, spesific program from pc will be launch...

1-User insert the card to card reader...

2- a program inside the pc will come out a popup show status of the card

###########################

Please wait..... ( after verification of 10 digits is succesfull, the message will change to "Welcome!"

############################

then the program such as Flash intro will appear. the flash file is from my folder pc c:\flash\flash.exe

so user using other card which is not related...this will apear

##############################

Sorry Invalid Card.

##############################

I interested  to make this happen....pls

0
 
LVL 7

Expert Comment

by:jimwasson
ID: 12034732
I think you might be able to get it to work. Did you download the manual?

http://www.acs.com.hk/downloads_manuals.asp

I didn't read it but it looks pretty thorough. There are also small samples on their site as well. Did you download them?

http://www.acs.com.hk/downloads_demo.asp

I don't think you should need more equipment. Just the samples to get you started. We can help if you get stuck using the apis.





0
 

Author Comment

by:lynxkid2004
ID: 12037531
thanks for the info...i will check it out
0
 

Author Comment

by:lynxkid2004
ID: 12040940
any other help?
0
 

Author Comment

by:lynxkid2004
ID: 12040946
i'm begging
0
 

Author Comment

by:lynxkid2004
ID: 12042099
i only have less than 2 weeks to create this...if i posting at a wrong forums...please inform me...i need a guide...

card -> smartcard reader (ACR30U) -> pc

so what user will see is a full screen of vb interface shows "Welcome to my PC, please insert Card"

after user insert the card, if the card is valid, the kiosk program will appear...after user pull out the card, the kiosk ( flash.exe ), will apear back the screen "Welcome to my PC, please insert Card"

Help me, make it as my birthday present
0
 
LVL 7

Expert Comment

by:jimwasson
ID: 12050903
Now I'm really confused. Are you asking us to write the application for you?
0
 

Author Comment

by:lynxkid2004
ID: 12051062
no...not asking you all to write...just guide me...

i ask some frens that i no need any program to do...only c++ and vb....and i getting confuse..
0
 

Author Comment

by:lynxkid2004
ID: 12051274
the point here is i have a pc which install XP, and i have a smart card reader ACR30U....and how do i can develop that small application?...in my pc xp i have visual c++ and visual basic 6.0...i need a guide
0
 
LVL 7

Expert Comment

by:jimwasson
ID: 12054201
At the download links I gave you earlier are samples for both VB and C++ using both their proprietary driver and PCSC. I would start by downloading these and studying them. They provide a minimal implementation of a smart card reader application. You should be able to proceed from there.
0
 

Author Comment

by:lynxkid2004
ID: 12061660
i download the sample of code and run the exe. it's works...but when i go to the source code and compile it, i recieve an error...why is that...i didn't change anything yet...i just open the cpp file using Visual C++ only
0
 
LVL 7

Expert Comment

by:jimwasson
ID: 12063731
Which one did you use and what errors did you get?
0
 

Author Comment

by:lynxkid2004
ID: 12072620
sorry...it's ok now...but can you give me a site or url which contains a collection of smart card related applications?
0
 
LVL 7

Accepted Solution

by:
jimwasson earned 45 total points
ID: 12075830
There are a lot of references of all kinds here:

http://www.compinfo-center.com/tpsmrt-t.htm
0
 

Author Comment

by:lynxkid2004
ID: 12081416
thank you
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Show shut-down message as Windows 8 shuts down. 9 99
bobThere java chalenge 45 94
Turn a spreadsheet into a vba executable. 2 93
conditional code and condition difference 9 84
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question