Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

USB Reader program

Posted on 2004-09-07
24
Medium Priority
?
2,124 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

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 180 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Suggested Courses

636 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