C++ sample code to scan and decode UPC (Universal Product Code) barcode in C++ Runtime Environment for Windows 32-bit, Windows 64-bit, or Linux 64-bit....System::SharedPtr<BarCodeReader> reader = System:: MakeObject <BarCodeReader>(...DecodeType:: UPC ); while (reader-> Read ()) { // Display code...