H19

Revision as of 05 October 2010 17:19 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.

Is there an emulator image for the H19 available in the SDK for debugging/testing?

No, there is not. You can test standard Windows Mobile code on one of the standard emulator images, but if you need to test anything related that employs the use of the H1xSDK, you'll need to debug/test on an actual device.

Links