(→FAQ)
|
(→FAQ)
|
Line 3: | |||
:Use the GetDeviceId method of the H19 SDK (H1xSDK.dll). | :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 [http://www.opennetcf.com/library/sdf/ OpenNETCF framework]. | ||
===Links=== | ===Links=== | ||
*[http://ftp.opticon.com/H16_H19/SDK%20-%20EGG32880/ H19 SDK Download Page] | *[http://ftp.opticon.com/H16_H19/SDK%20-%20EGG32880/ H19 SDK Download Page] |