This one's a C++ API, but you should be able to port it to C:
http://www.codeproject.com/KB/cpp/includeh10.aspx[
^]
[Edit]
--------
Sorry but it needs a xxx.c to be made then compile how to port it to c is the question
Thank you on your prompt answer
Since you know C, porting the C++ class into C should be very straightforward. Give it a shot, and if you run into specific issues, you can get help here.
[Edit-2]
-----------
sorry I left school a while back and trying again after being laid off and getting back in C is a tough one to chew on...I thought there was a better way i have the concept and I can bring hardware with software but details no...sorry'
Thank you
I am not sure what to say here. This forum is meant for
quick answers, and in this particular case since you don't really know C, it's unlikely that anyone here can help you with this issue. If learning C is not an option, I would recommend that you hire someone to write the barcode interface portion for you. You could probably find some enthusiastic college kid who'd do it at a very cheap rate and it probably won't take him more than a few hours maximum (assuming he starts with a 3rd party library that does most of the work - such as the one I linked above).