How to use an external assembly in FlexiCapture 12?

Question

How to use an external assembly (DLL) in FlexiCapture 12?

Answer

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

using myNamespace;
try{
//myFunc();
}catch(System.Exception ex){
FCTools.ShowMessage(ex.Message)
}

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.