Search code examples
c#.netpoint-of-saleocxopos

How to use vendor specifc OPOS object


I'm a little bit stumped on how to progress here. We develop a POS-Application and use Pos for .Net 1.14.1. So far everything worked fine. But now we have a SelfCheckout POS from Toshiba with a light on it. After some reading I found out that Pos for .Net doesn't support the Lights Class. But I saw that from Toshiba there is a OPOSLights.ocx. Now my question is what do I have to do to get the PosExplorer to recognize the Light? Do I have to write my own Service Object or do I have to somehow install the .ocx file?

I would very much appreciate it if somebody could point me in the right direction.


Solution

  • Before doing that, make sure the ocx is vendor-specific.

    Right-click the OPOSLights.ocx file to display the file properties, and if the ProductName is OPOS Common Controls (CRM/MCS) on the details tab, it is not vendor-specific but Common CO.
    Or if you are using OPOS_CCOs_1.14.001.msi or OposCCOs-1_14_001.zip to install ocx it is Common CO.

    You have three options, but only the first if the OCX is vendor-specific.