Using Open License in FREngine 8 Visual Basic sample

Question

How to use an open license in FineReader Engine 8?

 

Answer

FREngine 8 LoadFREngine method requires both a dev license and an open license to initialize, make sure to specify both licenses in GetEngineObject parameters as shown on the sample below. 

Dim devSN As String, devSN_w As String, openLicense As String, openLicense_w As String, pass_w As String

devSN = "FEDF-8012-0000-0000-0000"
devSN_w = StrConv(devSN, vbUnicode)
openLicense = "FECX-8002-0000-0000-0000.frelf"
openLicense_w = StrConv(openLicense, vbUnicode)
pass_w = StrConv("T00$00aE!00C", vbUnicode)

Dim ret As Long

ret = GetEngineObject(devSN_w, openLicense_w, pass_w, Engine)

Description of parameters: 

  • devSN - is the license number for the dev license tied to the open one.  
  • devSN_w - dev license conversion to string using vbUnicode encoding.
  • openLicense - full path to the open license file, which can be the filename(usually .frelf ) itself if the license file locates in the same folder as the project's executable.
  • openLicense_w - open license path conversion to string using vbUnicode encoding.
  • pass_w - password conversion to string using vbUnicode encoding, the password is usually provided with both licenses via email. 
ret = GetEngineObject(devSN_w, openLicense_w, pass_w, Engine)

a combination of all previously mentioned parameters specified in GetEngineObject

 

 

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.