How to use an external assembly (DLL) in FlexiCapture 12?
To add an external assembly open the project in the Project Setup Station, then open its properties (Project > Properties) and switch to .NET References. Mind that the reference will be added to the project only after applying the changes to the project.
The good practice is to handle possible exceptions that may be caused by a call of an external function. Use try\catch construction to wrap such calls and always dump the information about the exception. Example