The samples.zip file included in the FlexiCapture Engine download file FCE11R2GM_part_1298-3_build_11.0.3.136.zip does not include the sampleconfig.cs file. Many of the sample won't compile without this file.

Please direct me where I can get this file.

Thanks, Chris

asked 01 Sep '16, 17:33

chrisl91's gravatar image

chrisl91
133


Have you done a standard development installation by clicking on setup.exe or have you copied the files from the distributive? The fact is that the SamplesConfig file is an automatically generated file during standard development installation.

This file should look in the following way:

using System;

class FceConfig {
     // full path to FCE dll
     public const string DllPath = "C:\\Program Files (x86)\\ABBYY SDK\\11\\FlexiCapture Engine\\Bin\\FCEngine.dll";

     // Return full path to FCE dll
     public static string GetDllPath() {
        return "C:\\Program Files (x86)\\ABBYY SDK\\11\\FlexiCapture Engine\\Bin\\FCEngine.dll";
    }

    // Return developer serial number for FCE
    public static string GetDeveloperSN() {
        return "********************"; //Here you should specify your serial number
    }

    // Return full path to Samples directory
    public static string GetSamplesFolder() {
        return "C:\\ProgramData\\ABBYY\\SDK\\11\\FlexiCapture Engine\\Samples";
    }

}

and include the adapted license number of your program and path to FREngine.dll and to the Samples directory. It should be saved in the SampleConfig folder of your Samples directory: ...\ABBYY\SDK\11\FlexiCapture Engine\Samples\SampleConfig.

link

answered 02 Sep '16, 14:23

Oksana%20Serdyuk's gravatar image

Oksana Serdyuk ♦♦
1.4k16

I did the standard installation but there is no samples folder in the installation folder. The folders I have in the path C:\Program Files (x86)\ABBYY SDK\11\FlexiCapture Engine\ are:

  • Bin
  • Data
  • Help
  • Installation Guide
  • USB Drivers
  • Wibu

I didn't see an option to install samples during install. Did I miss something?

(02 Sep '16, 20:37) chrisl91

Oops, I see the path you in your code now. I see samples folder in that location. Thanks.

(02 Sep '16, 20:45) chrisl91
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×41
×1

Asked: 01 Sep '16, 17:33

Seen: 326 times

Last updated: 05 Sep '16, 13:26

© 2016 ABBYY. All rights Reserved. www.ABBYY.com | Privacy Policy | Legal