how to call functions
Posted on 2000-03-17
I am programming an application for a handheld computer that has a barcode scanner as a peripheral device, I have obtained the software Dev Kit from the manufacturer, and it contains all the header files and libraries to operate any approved periphs for the unit.
My question is this: how do I call the functions from the header files and or libraries to enable this unit to scan barcodes? I belive the process goes somewhat like step1) Initialise scanner
step2) get scanned data step3) uninitialise scanner. I am currrently waiting on more information from the Dev Kit manufacturer but would like to begin tryin some ideas.
As you can probably tell, I am very new at C programming, so any extra detail you can spare will go a long way and be very appreciated. For the record, the Development environment is a package called "Penright!" and it is a visual IDE that allows custom C code to be added.
Bottom line......how do I call functions in my header files? what do I look for? what is the syntax? what errors will I receive if I do it wrong? I know this is a potentially endless question, and I dont expect a C tutorial....but a little guidance and a little overview would be great. Thanks in Advance