我想为Motorolo MC 9190 G移动设备开发简单的应用程序,它具有内置的条码扫描器,我想扫描条码并将它们显示在信息框中。我没有手机,所以我必须在模拟器中测试它。当我在模拟器中部署代码时,它会给出null异常错误。我的代码是 我添加sample.barcode DLLWindows Mobile应用程序条码扫描与模拟器
Private barcodeReader As Symbol.Barcode.Reader // error occurs here itself
barcodeReader = New Symbol.Barcode.Reader()
barcodeReader.Actions.Enable()
Dim nextReaderData As Symbol.Barcode.ReaderData = barcodeReader.GetNextReaderData()
MessageBox.Show(nextReaderData.Text)
我毫米初学者到这个..请帮助..
您的模拟器是否有条形码读取器?你如何模仿阅读条形码? – jp2code 2013-03-02 21:43:56