Get Engine Object Using CreateObject

Question

How to get Engine object using CreateObject function?

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  can be found in "Help" → "Guided Tour" → "Advanced Techniques" → "Programming Aspects" → "Using in Scripting Languages".

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Recently viewed