Creating an OCAdapter the Easy Way

If you’re writing an app that uses the Ocularis SDK, you should instantiate the OCAdapter object this way:

That way, all you’ll need is a reference to the OcularisInterface.dll and you won’t have to carry around a lot of drivers and DLL’s that are already in the SDK folder.