Community

Building custom dlls for using in scripts

Hi,

I'm creating a class library (dll) for using in Abbyy scripts.

I've referenced the ControllerInterop.dll.

I'm getting an error ...Error 1 'ABBYY.FlexiCapture.IProject' does not contain a definition for 'EnvironmentVariables' and no extension method 'EnvironmentVariables' accepting a first argument of type 'ABBYY.FlexiCapture.IProject' could be found (are you missing a using directive or an assembly reference?)

I
n the scripts I know you can get the environment variables by 

C#

string x = Context.Document.Batch.Project.EnvironmentVariables.Get("variableName");

How can I do this in the dll? why am I getting the error.
Please help!

 

 

            

 

Was this article helpful?

0 out of 0 found this helpful

Comments

1 comment

Please sign in to leave a comment.