H19

Revision as of 05 October 2010 17:17 by Administrator (Comments | Contribs) | (FAQ) m

FAQ

What's the best way to get the Device ID of an H19?

Use the GetDeviceId method of the H19 SDK (H1xSDK.dll).

My app is throwing an exception when I try and create a ScanBarcode or BarcodeDevice object on other Windows Mobile devices. What's going on?

Well, the H1xSDK is only meant for the H16 and H19 devices! If your app needs to try and determine the model of device at runtime, there are a few ways to go about it: you can use the GetSystemInfo native function and the OEM ID field of the structure it returns, or if your app is written in C# and using the .NET runtime, and you don't want to P/Invoke GetSystemInfo, you can check out the DeviceManagement class of the OpenNETCF framework.

Links