Community

Using External C# Component for Export in Flexcapture 9.0

Hi All,

Our organization is using Flexicapture 9.0. I want to experiment with developing a custom export module in C#. Some of the help documents have some instructions, but it is not totally clear. The help page says to add a reference to "Controller.dll" in your C# Class Library project, however, it doesn't say where I find this DLL. I did find a controller.dll file in the "ABBYY FlexiCapture 9.0 Stations" folder, however, Visual Studio gives me an error when I try to add a reference to this DLL. The error is "Controller.dll could not be added. Please make sure that the file is accessible, and that it is a valid assemble or COM component".

How/where do I find the correct Controller.dll to use in my C# program? Or is what I am trying to do not supported in Flexicapture 9.0? Or if someone could point me to some better documentation on how to do this (specifically in FC9.0), that would be helpful as well.

Thanks

Was this article helpful?

0 out of 0 found this helpful

Comments

5 comments

  • Avatar
    Sushi


    Chrisk17,

    I'm not a programmer and hopefully someone will correct me if I'm wrong since I don't have FlexiCapture 9 on my machine. Are you say sure its Controller.dll and not ControllerInterop.dll? I was able to add that to my Visual Studio project without any error. I did get the same error as you on the Controller.dll though.
    0
  • Avatar
    chrisk17
    Sushi,

    Thanks for your response! I can't find ControllerInterop.dll in the FC9 install (at least not in "C:\Program Files\ABBYY FlexiCapture 9.0 Stations", which is where Controller.dll is). Was that dll introduced in FC10, or do I have install it separately somehow? Where would that DLL be located normally?

    Thanks again

    0
  • Avatar
    Sushi
    Must be a FC10 thing then. Let me download FC9 and let you know tomorrow.
    0
  • Avatar
    Sushi


    Chrisk17,

    Looks like you are correct. There is no interop file. In your case, this is what you have to do. You need to first convert the Controller.dll file using TlbImp unity from Visual Studio. Once done, it should give you a FlexiCaptureScriptingObject.dll which is what you add into your reference for your Project.
    0
  • Avatar
    chrisk17
    Sushi,

    Thanks for the advice!!! I ran Controller.dll through tlbImp, and it produced the dll you mentioned, and I was able to reference to that in my VS project. You have totally helped me get past my blockade, Thanks so much!!
    0

Please sign in to leave a comment.