The Zebra Scanner SDK needs to be installed to use this sample code.  You can download it from here:
https://www.zebra.com/us/en/support-downloads/software/developer-tools/scanner-sdk-for-windows.html
