コミュニティ

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!

 

 

            

 

この記事は役に立ちましたか?

0人中0人がこの記事が役に立ったと言っています

コメント

1件のコメント

サインインしてコメントを残してください。