OCR SDK Knowledge Base

Article ID: 1113 | Category: Engine Initialization | Type: How To | Last Modified: 6/20/2014

Get Engine Object Using CreateObject

Description

How to get Engine object using CreateObject function?

Solution

VBScript Sample

' create FRELoader object
Set FRELoader = CreateObject( "FREngineWrap.FRELoader" )
...
' load the library
FRELoader.Load 
...
' get the Engine object
Set Engine = FRELoader.EngineObject

Perl Sample

# create the FRELoader object
$FRELoader = $WScript->CreateObject( 'FREngineWrap.FRELoader' );
...
# load the library
$FRELoader->Load( );
...
# get the Engine object
my $Engine = $FRELoader->{EngineObject};

More information for FREngine 10  can be found in Help > Guided Tour > Advanced Techniques > Programming Aspects > Using in Scripting Languages.

352 people think this is helpful.
Was this information helpful to you?

Related Forum Questions

How to add bitmap/image/bytearray into FRDocument object using c#?

I have a cropped bitmap object where I wish to pass into FRDocument, Can anyone provide an example...

FCEngine.Jni.dll already loaded in another classloader: Flexicapture SDK

Hello [i'm using JAVA] I'm facing a problem while running my Flexicapture application using SDK....

More related questions on Forum