I'm using ABBYY FineReader 12 SDK with path ABBYY SDK\12\FlexiCapture Engine\Bin64\FREngine.dll. I'm unable to load the dll in the web service with C# ASP.net framework

 

 

// Load the FREngine.dll 
dllHandle = LoadLibraryEx(FreConfig.GetDllFolder(), IntPtr.Zero, LOAD_WITH_ALTERED_SEARCH_PATH);
try
{
    if (dllHandle == IntPtr.Zero)
        {
            // error thrown here
            throw new Exception("Can't load " + enginePath);
    }