Detecting if App is running on C5

Detecting if App is running on C5

Is there a way to for an application to detect if it is running on a C5. The idea is to execute a code path specific for the C5, and if the app detects that it is not running on a C5 take a different execution path. Does the API provide some type of flag to confirm execution is being performed on the Motion C5?

Thanks,

-Clifton

3 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione

Hi Clifton,

The MCA platform detection only takes place when you go to reserve a device via the plug-in. If the plug-ins are different because of different devices, then the device calls will all fail (if they even get made). So in theory, you could run an MCA platform driver for the C5 on any system that had the exact same RFID, camera, and barcode hardware.

I would suggest you contact Motion to see if they have a registry key or a BIOS call you can make to determine if the hardware platform you are running on is a C5. Otherwise you could check for devices, by reserving the barcode reader or one of the others using the reserve function. You can then check the return code from the reservation, and then branch down the code path that you want.

Thanks,
Steve

Thanks Steve.

-Clifton

Lascia un commento

Eseguire l'accesso per aggiungere un commento. Non siete membri? Iscriviti oggi